eulerfan / Russian_twitter_trolls

0 stars 0 forks source link

ROC curve for logistic regression #10

Closed mzakariaCERN closed 5 years ago

eulerfan commented 5 years ago

Having trouble getting the AUC to work properly. Error in .performance.auc(fpr.stop = 1, predictions = c(0.988080784098487, : Not enough distinct predictions to compute area under the ROC curve.

checked all google listing

mzakariaCERN commented 5 years ago

I think this could be the issue:

https://stackoverflow.com/a/25685296/4656963

eulerfan commented 5 years ago

I eventually went to a basic roc() function to create the ROC and auc.