Answers for "skcikit learn decision tree"

0

skcikit learn decision 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 August-28-2020

Code answers related to "skcikit learn decision tree"

Python Answers by Framework

Browse Popular Code Answers by Language