最佳答案
I ran a logistic regression model and made predictions of the logit values. I used this to get the points on the ROC curve:
from sklearn import metrics
fpr, tpr, thresholds = metrics.roc_curve(Y_test,p)
I know metrics.roc_auc_score
gives the area under the ROC curve. Can anyone tell me what command will find the optimal cut-off point (threshold value)?