Comments (7)
Do you mean the code in the notebook does not work?
from interpretable_machine_learning_with_python.
The code works completely fine, just the GraphViz portion throws an error.
I have already created the .gv file and when I am trying to convert that to a png file it says "File not found"
from interpretable_machine_learning_with_python.
I'll need a lot more info to help here ...
Are you using the Docker container? Or did you attempt to install the dependencies yourself?
Are you sure GraphViz is installed and on your path? What happens when you type dot -Tpng
in your console?
Are you sure the .gv file was really created? What is the output of ls
or dir
(on windows) in the root directory of the repo after you run the cell that creates the .gv
?
Thanks!
from interpretable_machine_learning_with_python.
@jphall663 this is a great article thanks much. I am getting error at these lines under heading(Create PNG from GraphViz dot file and display)
_ = subprocess.call(png_args)
Error description: FileNotFoundError: [WinError 2] The system cannot find the file specified
I have also installed GraphViz using pip command and using anaconda spyder as IDE.
One more doubt I am executing all code in python only ..while in thread you mentioned that "Then a GraphViz command line tool is used to create a static PNG image from the dot file "..what does it mean..
Please let me know if anything more information is required..
Thanks.
Sarvendra
from interpretable_machine_learning_with_python.
@jphall663 Please help to suggest..this is little urgent :)
from interpretable_machine_learning_with_python.
Hi, Sarvendra,
I think you need to add shell=True :
_ = subprocess.call(png_args, shell=True)
Hope you can solve the problem.
-Jin
from interpretable_machine_learning_with_python.
Sorry for any inconvenience and how long it took me to respond. I incorporated the comment above into the code comments. Hope that helps in the future!
from interpretable_machine_learning_with_python.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interpretable_machine_learning_with_python.