0Pricing
Data Science Academy · Lesson

ROC, AUC, and Thresholds

Judging ranking quality across cutoffs.

Models Output Probabilities

Most classifiers do not just say yes or no. They give a probability, like 0.73, and you decide where to draw the line. 🎚️

probs = model.predict_proba(X)[:, 1]

The Decision Threshold

A threshold turns a probability into a label. Above it means positive, below means negative. The default 0.5 is just one choice.

y_pred = probs >= 0.5

All lessons in this course

  1. Regression Metrics: MAE, MSE, R2
  2. The Confusion Matrix Decoded
  3. Precision, Recall, and F1
  4. ROC, AUC, and Thresholds
← Back to Data Science Academy