理解sklearn.metrics中roc_auc_score使用方法

AUC原理可看:https://editor.csdn.net/md/?articleId=104838433python >>> import numpy as np >>> from sklearn import metrics >>> y = np.array([1, 1, 2, 2]) >>> scores = np.array([0.1, 0.4, 0.35, 0.8]) >>> fpr
相關文章
相關標籤/搜索