Skip to content

Instantly share code, notes, and snippets.

@risenW
Created July 10, 2019 21:43
Show Gist options
  • Save risenW/84c98441b37ca542d1be01ea03cb1d22 to your computer and use it in GitHub Desktop.
Save risenW/84c98441b37ca542d1be01ea03cb1d22 to your computer and use it in GitHub Desktop.
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