Home▸AI & Machine Learning▸Decision Threshold Profit Optimizer 2D

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.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-machine-learning-in-business-decision-making-implementation-strategies ↗ Open standalone

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.

⚙ Under the hood

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.

machine learningbusiness analyticsclassificationdecision theorycost-sensitivechurn

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

What did you find?

Add reproduction steps (optional)