Skip to content
Kudos AI

Classifier metrics explorer

Move a decision threshold across an imbalanced population and watch precision, recall, F1, and the ROC point move with it - including the regime where accuracy looks excellent and the model is useless.

FreeMachine LearningStatistics

Classifier metrics explorer

Move the threshold and watch precision and recall trade off.

Precision
9.8%
Recall
84.1%
F1
17.5%
Accuracy
84.1%
Majority-class baseline
98.0%

Confusion matrix

Predicted +Predicted −
Actual +16832
Actual −1,5558,245

ROC AUC: 0.921

ROC curve

FPRTPR

Raising the threshold buys precision by giving up recall, and lowering it does the reverse. On a rare positive class, accuracy is nearly useless: it is dominated by the negatives, so a model that never fires still scores well. Precision and recall are the honest summary.

Runs entirely in your browser. Nothing you enter is uploaded or stored.

The ideas behind it

7 min readSupervised Learning

Logistic Regression and Classification

Why a straight line cannot model a probability, how the logistic function fixes it, and what the coefficients mean in log-odds, with a gradient-ascent step and a converged fit computed and checked numerically.

StatisticsMachine LearningOptimization
7 min readStatistical Learning Foundations

What Is Statistical Learning?

The setup behind every predictive model: estimating an unknown function f from data, the split between reducible and irreducible error, and why prediction and inference pull in different directions.

StatisticsMachine LearningMathematics