How To Graph A Tree With Graphviz?
I can't reproduce a simple example. Here is how it goes: import pandas as pd import numpy as np import sklearn as skl from sklearn import tree from sklearn.cross_validation import
Solution 1:
It seem you didn't install the graphviz software at all. You should download and install it before using the module.
Solution 2:
step 1, install C-version of graphviz using 'sudo apt-get install graphviz
' if ubuntu, 'brew install graphviz
' if OSX
step 2, install package 'graphviz' by pip sudo pip install graphviz
Post a Comment for "How To Graph A Tree With Graphviz?"