I need the image of the complete tree that I generated but it does not wrap around neither there is a download or save image option. The only remaining option is to take a screenshot which doesn't capture the entire tree.
How do I get the entire tree?
I've generated a tree using this method in Spyder
#Displaying the decision tree
from sklearn import tree
#from StringIO import StringIO
from io import StringIO
#from StringIO import StringIO
with open("classifier.txt", "w") as f:
f = tree.export_graphviz(classifier, out_file=f)
This generates a file classifer.txt which when copied and pasted into http://webgraphviz.com/ generates a decision tree
Here is the image of the output
The snapshot has zoomed out to the maximum possible extent.