Untitled
unknown
plain_text
3 years ago
246 B
4
Indexable
from sklearn import metrics fpr, tpr, thresholds = metrics.roc_curve(y, scoresy_pred_knn) fpr2, tpr2, thresholds2 = metrics.roc_curve(y, y_preict_LR) auc = metrics.auc(fpr,tpr) auc2 = metrics.auc(fpr2,tpr2) plt.plot(fpr,tpr) plt.plot(fpr2,tpr2)
Editor is loading...