Skip to content

Instantly share code, notes, and snippets.

@Shareef-shaik
Created April 12, 2020 13:24
Show Gist options
  • Save Shareef-shaik/14f971af2cb435d4c058e948aae93be5 to your computer and use it in GitHub Desktop.
Save Shareef-shaik/14f971af2cb435d4c058e948aae93be5 to your computer and use it in GitHub Desktop.
This file includes the code related to KNN
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