sklearn decisiontree example
Example 1: skit learn decision
tree.plot_tree(clf)
Example 2: skcikit learn decision tree
>>> from sklearn import tree
>>> X = [[0, 0], [1, 1]]
>>> Y = [0, 1]
>>> clf = tree.DecisionTreeClassifier()
>>> clf = clf.fit(X, Y)