Created
October 16, 2019 19:04
-
-
Save gonzaloruizdevilla/f51dbe98eb74bafe8f576ad4e5712a87 to your computer and use it in GitHub Desktop.
This file contains 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
y_pred = knn.predict(X_test) | |
print("Test set predictions:\n {}".format(y_pred)) | |
print("Test set score (np.mean): {:.2f}".format(np.mean(y_pred == y_test))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment