Skip to content

Instantly share code, notes, and snippets.

@risenW
Created July 10, 2019 21:39
Show Gist options
  • Save risenW/408c1410ba6e467945296dddb10deedb to your computer and use it in GitHub Desktop.
Save risenW/408c1410ba6e467945296dddb10deedb to your computer and use it in GitHub Desktop.
from sklearn.ensemble import AdaBoostRegressor
ada_model = AdaBoostRegressor(et_model, n_estimators=150)
print("MAE Sccore: ", cross_validate(ada_model, 10, X_train, y_train))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment