Created
June 24, 2021 08:51
-
-
Save ogyalcin/4d10e3ef6f67b170c63cca816dd1f8ee 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
# Calculate RMSE | |
# Note that we did not split train and test datasets to simplify the process | |
rf_preds = rf.predict(X) | |
rf_rmse = np.sqrt(((rf_preds - y) ** 2).mean()) | |
print(rf_rmse) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment