Menu

1 / 5

Credit Risk Model in Python: Calibration, Expected Loss Cutoffs and Out-of-Time Validation

DEV Community: datascience·Alex·about 17 hours ago
#aMGiekZM
#devtodatascience#science#devto#dev#model
Long article (4469 words) — no AI summary yet.
Reading 0:00
15s threshold

Here is a credit risk model with a ROC AUC of 0.78 on six months of loans it has never seen. Its Brier score is 0.202. A “model” that predicts the same default rate for every applicant scores 0.109 on the same loans. So the model ranks borrowers well and still gives worse probabilities than a constant.

It is what you get from gradient boosting with class_weight="balanced", a common setting for imbalanced data. AUC only measures ranking, and a credit risk model is used for more than ranking: the predicted probability of default (PD) feeds the approval cutoff, the price, the expected loss estimate and the provisioning numbers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.