my code is.
I tried to install. i am getting below error for installation graphviz, pydot-ng
no packages will be modified.
unsatisfiableerror: the following specifications were found to be in conlict:
-pydot-ng->python 2.7* , -python 3.6
use conda info " to see the dependencies for eah package.
i am very new to python can any body help to fix the issue?
from IPython.display import Image
from sklearn.externals.six import StringIO
from sklearn.tree import export_graphviz
features = list(kyphosis_data.columns[1:])
print (features)
dot_data = StringIO()
export_graphviz(dtree, out_file=dot_data, feature_names= features, filled= True)
graph= pydot.graph_from_dot_data(dot_data.getvalue())
Image(graph[0].create_png())

