Advertisement
897bhgy

Untitled

Jul 18th, 2023
306
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.ensemble import RandomForestClassifier
  2. clf = RandomForestClassifier()
  3. clf.fit(X_train, y_train)
  4. predictions = clf.predict(X_test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement