-1

I have a dataset that contains two columns:

i) Column A: Absolute binary values (0 and 1) represent the ground truth.
ii) Column B: Values ranging from 0 to 1 (e.g., 0.2, 0.33, 0.82) represent my new new test results.

How can I calculate the sensitivity & specificity (maximized using Youden index), ROC curve and AUC?

Medic00
  • 11
  • 3
  • Does this answer your question? [How to plot ROC curve in Python](https://stackoverflow.com/questions/25009284/how-to-plot-roc-curve-in-python) – Calimo Aug 14 '22 at 05:25
  • Does this answer your question? [Roc curve and cut off point. Python](https://stackoverflow.com/questions/28719067/roc-curve-and-cut-off-point-python) – Calimo Aug 14 '22 at 05:26

1 Answers1

0

scikit-learn includes methods to calculate these for you. You can find them here.

sb933
  • 101
  • 7