Answers for "scikit learn decistion tree"

0

scikit learn decistion tree

from sklearn import tree
X = [[0, 0], [1, 1]]
Y = [0, 1]
clf = tree.DecisionTreeClassifier()
clf = clf.fit(X, Y)
Posted by: Guest on May-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language