甜甜河马

文章
7
资源
0
加入时间
4年0月9天

多分类TPR, FPR, ROC计算与画图

sklearn.metrics.roc_curve()首先,需要使用sklearn.metrics.roc_curve()函数sklearn.metrics.roc_curve(y_true, y_score, pos_label=None, sample_weight=None, drop_intermediate=True)参数:y_true : 数组,shape = [样本数]在范...