Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

google scikit learn decision tree

>>> from sklearn import tree
>>> X = [[0, 0], [1, 1]]
>>> Y = [0, 1]
>>> clf = tree.DecisionTreeClassifier()
>>> clf = clf.fit(X, Y)
Source by scikit-learn.org #
 
PREVIOUS NEXT
Tagged: #google #scikit #learn #decision #tree
ADD COMMENT
Topic
Name
3+3 =