Advertisement
897bhgy

Untitled

Jul 17th, 2023
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | Source Code | 0 0
  1. from sklearn.tree import DecisionTreeClassifier
  2. clf = DecisionTreeClassifier()
  3. clf.fit(X_train, y_train)
  4. predictions = clf.predict(X_test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement