Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sklearn.tree import DecisionTreeClassifier
- clf = DecisionTreeClassifier()
- clf.fit(X_train, y_train)
- predictions = clf.predict(X_test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement