About 2,160,000 results
Open links in new tab
  1. matplotlib - How to plot ROC curve in Python - Stack Overflow

    129 I am trying to plot a ROC curve to evaluate the accuracy of a prediction model I developed in Python using logistic regression packages. I have computed the true positive rate as well as the false …

  2. Reason of having high AUC and low accuracy in a balanced dataset

    Jul 15, 2016 · The ROC curve is biased towards the positive class. The described situation with high AUC and low accuracy can occur when your classifier achieves the good performance on the …

  3. How to interpret almost perfect accuracy and AUC-ROC but zero f1 …

    This is why I stopped using 'roc_auc' as a scoring function for my optimizers and resorted to 'f_1' (yes, my datasets are often imbalanced). But currently i'm thinking of custom scorer which is a mix of …

  4. Which is the correct way to calculate AUC with scikit-learn?

    Feb 27, 2021 · @Shijith I manually add roc_auc_score as a label instead of an automatic legend to show the difference. Could you elaborate on that, please? – David Ws.

  5. Logistic Regression Model - Prediction and ROC AUC

    Apr 29, 2024 · Maybe your confusion is that Statsmodels Logit is a Logistic Regression model used for classification, and it already predicts a probability, which is to be used in sklearn's roc_auc_score.

  6. python - Manually calculate AUC - Stack Overflow

    Jun 14, 2018 · The ROC curve is created by plotting the True Positive Pate (TPR) against the False Positive Rate (FPR) at various threshold settings. As an example: The model performance is …

  7. machine learning - F1 Score vs ROC AUC - Stack Overflow

    May 25, 2017 · AUROC vs F1 Score (Conclusion) In general, the ROC is for many different levels of thresholds and thus it has many F score values. F1 score is applicable for any particular point on the …

  8. machine learning - Calculate AUC in R? - Stack Overflow

    Feb 5, 2011 · As mentioned by others, you can compute the AUC using the ROCR package. With the ROCR package you can also plot the ROC curve, lift curve and other model selection measures. You …

  9. Getting a low ROC AUC score but a high accuracy

    Nov 4, 2017 · Getting a low ROC AUC score but a high accuracy Asked 8 years, 1 month ago Modified 5 years, 9 months ago Viewed 29k times

  10. python - ROC for multiclass classification - Stack Overflow

    Jul 26, 2017 · I'm doing different text classification experiments. Now I need to calculate the AUC-ROC for each task. For the binary classifications, I already made it work with this code: scaler = …