Created
December 6, 2017 10:59
-
-
Save sagarhowal/95600ec9dc9c88b41fc85ec5390b1031 to your computer and use it in GitHub Desktop.
Gradient Boosting in Ensemble Learning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.ensemble import GradientBoostingRegressor | |
gbrt = GradientBoostingRegressor(max_depth=2, n_estimators=3, learning_rate=1.0, random_state=42) | |
gbrt.fit(X, y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment