I am trying to display the tree output , but when I run the script below, I receive an error like :
InvocationException: GraphViz's executables not found
I've searched similar topics here, but most of them are Mac related. I'm using Windows 10 64-bit operating system, and I use Anaconda-3 64 bit. I'd love to hear your suggestions on this.
#Displaying the decision tree
from sklearn import tree
#from StringIO import StringIO
from io import StringIO
#from StringIO import StringIO
from IPython.display import Image
out = StringIO()
tree.export_graphviz(classifier, out_file=out)
import pydotplus
graph=pydotplus.graph_from_dot_data(out.getvalue())
Image(graph.create_png())
edit : I've installed graphviz and pydotplus modules again, but still now working.