Created
April 12, 2020 13:24
-
-
Save Shareef-shaik/14f971af2cb435d4c058e948aae93be5 to your computer and use it in GitHub Desktop.
This file includes the code related to KNN
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
from sklearn.neighbors import KNeighborsClassifier | |
from sklearn.metrics import roc_auc_score | |
train auc=[] | |
cv_auc=[] | |
K=[i for i in range(50,5)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment