Skip to content

Instantly share code, notes, and snippets.

@purva91
Created Sep 11, 2019
Embed
What would you like to do?
plt.figure(figsize=(10,8))
plt.plot([0,1],[0,1],'k--')
plt.plot(fpr,tpr, label='Knn')
plt.xlabel('FPR')
plt.ylabel('TPR')
plt.title('Knn(n_neighbors=5) ROC curve')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment