Top: score distribution · drag the threshold line Bottom: ROC curve (FPR → TPR)

Classifier Threshold & ROC Curve Explorer (2D)

Every supervised classifier — logistic regression, SVM, a random forest, a neural net — reduces a sample to a single score, then a threshold turns that score into a "positive" or "negative" prediction. This 2D simulator plots two overlapping score-distribution histograms, lets you drag a real decision threshold through them while every point recolors live by confusion-matrix outcome (TP/FP/TN/FN), and plots the resulting ROC curve with a numerically-integrated AUC — the exact tradeoff behind precision, recall and F1 in the article above.