相关疑难解决方法(0)

Roc曲线和切断点.蟒蛇.

我正在运行一个逻辑模型,我预测了logit值.我用了 :

 from sklearn import metrics
 fpr, tpr, thresholds = metrics.roc_curve(Y_test,p)
Run Code Online (Sandbox Code Playgroud)

我知道metric.roc_auc_score将给出曲线下面积但是任何人都可以让我知道找到最佳截止点(阈值)的命令是什么.

python roc logistic-regression

42
推荐指数
5
解决办法
3万
查看次数

标签 统计

logistic-regression ×1

python ×1

roc ×1