Created
September 10, 2019 12:46
-
-
Save purva91/f8ba431c5b6706dd9ab0e79a07dafe20 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
#Setup a knn classifier with k neighbors | |
knn = KNeighborsClassifier(8) | |
knn.fit(X_train,y_train) | |
knn.score(X_test,y_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment