Advertisement
897bhgy

Untitled

Jul 18th, 2023
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | Source Code | 0 0
  1. from sklearn.ensemble import GradientBoostingClassifier
  2.  
  3. gb_clf = GradientBoostingClassifier(n_estimators=100, learning_rate=1.0, max_depth=1, random_state=0)
  4. gb_clf.fit(X, y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement