Am using the following code to extract rules. Please help me plot a tree of higher resolution as the image gets blurred when I increase the tree depth.
from sklearn.tree import DecisionTreeClassifier
from sklearn import tree
classifier = DecisionTreeClassifier(max_depth = 3,random_state = 0)
tree.plot_tree(classifier);
Also, how can I extract rule from a random Forest Classifier.
Also are there