Created
July 10, 2019 21:33
-
-
Save risenW/a5022ba165a376784f25f787306e5f3d 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.neighbors import KNeighborsRegressor | |
knn_model = KNeighborsRegressor(n_neighbors=60) | |
print("MAE Sccore: ", cross_validate(knn_model, 10, X_train, y_train)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment