Home▸Data Science▸Class Imbalance: ROC versus Precision-Recall Curves, Prevalence and Positive Predictive Value (2D)

Class Imbalance: ROC versus Precision-Recall Curves, Prevalence and Positive Predictive Value (2D)

ROC and precision-recall curves with the operating points, score densities and prevalence charts, plus Blender-rendered desk props. The same shared model as the 3D board.

Data Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Class Imbalance: ROC versus Precision-Recall Curves, Prevalence and Positive Predictive Value (2D) ↗ Open standalone

See why a classifier with an excellent ROC curve can still raise mostly false alarms when the positive class is rare. Change class separation, prevalence and decision threshold and watch the ROC point stay put while precision collapses. A Blender-built data board with checks of AUC, Bayes precision and the F1 identity.

⚙ Under the hood

ROC and precision-recall curves with the operating points, score densities and prevalence charts, plus Blender-rendered desk props. The same shared model as the 3D board.

Class ImbalanceROC CurvePrecision-RecallPrevalencePositive Predictive Value

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)