plot decision tree python code example
Example 1: how to create a visual of a decision tree in python
tree.plot_tree(clf);
Example 2: scikit learn decision tree
from sklearn import tree
X = [[0, 0], [1, 1]]
Y = [0, 1]
clf = tree.DecisionTreeClassifier()
clf = clf.fit(X, Y)