Created
July 10, 2019 21:43
-
-
Save risenW/84c98441b37ca542d1be01ea03cb1d22 to your computer and use it in GitHub Desktop.
This file contains hidden or 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_model = GradientBoostingRegressor(n_estimators=100) | |
print("MAE Sccore: ", cross_validate(gb_model, 10, X_train, y_train)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment