Last active
July 17, 2019 08:12
-
-
Save risenW/b2066ae4ff63b3db00bc3dad9f8c98de 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 BaggingRegressor | |
bgg_model = BaggingRegressor(et_model, n_estimators=20, random_state=2) | |
print("MAE Sccore: ", cross_validate(bgg_model, 10, X_train, y_train)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment