Does anyone know how to plot a dictionary to a decision tree in Python? It is a manual entry so i'm not interested in sci kit or graphviz.
I've tried pyplot but that doesn't seem to work.
Any suggestions?
Does anyone know how to plot a dictionary to a decision tree in Python? It is a manual entry so i'm not interested in sci kit or graphviz.
I've tried pyplot but that doesn't seem to work.
Any suggestions?
Found the answer here
Dictionary object to decision tree in Pydot
For Python 3 change:
for k,v in node.iteritems():
to
for k,v in node.items()