Created
July 10, 2019 21:35
-
-
Save risenW/f291b9d806a57c790b87742ca83b7f3c 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 RandomForestRegressor | |
rf_model = RandomForestRegressor(n_estimators=100, max_depth=5) | |
print("MAE Sccore: ", cross_validate(rf_model, 10, X_train, y_train)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment