Created
September 10, 2019 12:47
-
-
Save purva91/e64eb33c0e68ef86f0f3e71e96882517 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) | |
confusion_matrix(y_test,y_pred) | |
pd.crosstab(y_test, y_pred, rownames=['Actual'], colnames=['Predicted'], margins=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment