Skip to content

Instantly share code, notes, and snippets.

@purva91
Created Sep 11, 2019
Embed
What would you like to do?
y_pred_proba = knn.predict_proba(X_test)[:,1]
fpr, tpr, thresholds = roc_curve(y_test, y_pred_proba)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment