Decision Threshold Profit Optimizer 2D
2D companion to the 3D decision-threshold optimizer: the same cost-sensitive classification math — two overlapping score-distribution curves, a movable threshold and an expected-profit curve — plus a class-balance slider and a live confusion-matrix breakdown.
This is the 2D companion to the 3D decision-threshold scene, computing the identical cost-sensitive classification math on a flat chart: overlapping positive- and negative-class score-density curves, a movable decision line and a live expected-profit curve traced across every possible threshold. It adds a class-balance (prevalence) slider and a full confusion-matrix breakdown (TP/FP/FN/TN shares) so you can see exactly how a rarer positive class, not just the cost weights, pushes the profit-maximizing cutoff away from the textbook 0.5.
2D companion to the 3D decision-threshold optimizer: overlapping positive/negative score-density curves, a movable decision line and a live expected-profit curve, plus a class-balance slider and a full confusion-matrix breakdown.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install