【Python】获取roc、auc时候报错:raise ValueError("{0} format is not supported".format(y_type))
代码:fpr,tpr,thresholds=roc_curve(y_test,test_prob,pos_label=1,sample_weight=None,drop_intermediate=True)报错:raiseValueError("{0}formatisnotsupported".format(y_type))ValueError:unknownformatisnotsupporte