Created
February 13, 2021 06:21
-
-
Save maskaravivek/41ec126fc06c14681540e34151ab86b7 to your computer and use it in GitHub Desktop.
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 | |
gb = GradientBoostingRegressor(loss ='huber', n_estimators=300, max_depth=5,) | |
gb.fit(X_train,y_train) | |
ypred = gb.predict(X_test) | |
plot_predictions(y_test, ypred) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment