Credit Scorecard Calibration: Score Histogram, ROC Curve and Cut-off (2D)
The same scorecard drawn as a stacked histogram of good and bad borrowers by score with the cut-off line, and a ROC curve with the chosen cut-off marked. Same model and numerical checks as the 3D bank scene.
A bank fits a logistic-regression scorecard to a synthetic loan book and turns log-odds into points so that every PDO points double the odds of a good customer. Choose the default rate, signal strength, PDO, base score and the cut-off, then watch applicants walk onto the score ruler of a Blender-built bank while green and red columns pile up for good and bad borrowers and a coin heap tracks profit. AUC, KS, Gini, calibration and the profit-optimal cut-off are measured on a held-out 40%. Checked against the exact doubling property, recovery of the true coefficients, maximum-likelihood identities, brute-force AUC and the ROC trapezoid.
The same scorecard drawn as a stacked histogram of good and bad borrowers by score with the cut-off line, and a ROC curve with the chosen cut-off marked. Same model and numerical checks as the 3D bank scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install