Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sklearn.ensemble import GradientBoostingClassifier
- gb_clf = GradientBoostingClassifier(n_estimators=100, learning_rate=1.0, max_depth=1, random_state=0)
- gb_clf.fit(X, y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement