google scikit learn decision tree

Solutions on MaxInterview for google scikit learn decision tree by the best coders in the world

showing results for - "google scikit learn decision tree"
Giovanni
14 Oct 2020
1>>> from sklearn import tree
2>>> X = [[0, 0], [1, 1]]
3>>> Y = [0, 1]
4>>> clf = tree.DecisionTreeClassifier()
5>>> clf = clf.fit(X, Y)