🛡️ DriftBreaker

Credit Risk Analytics Platform

📋 Portfolio Summary

2,257,919
Total Loans
$33.99B
Total Exposure
$4.43B
Total Default Volume
12.56%
Default Rate (Count)
13.05%
Default Rate ($)

By Segment

Segment Loans Exposure ($M) Default Rate (count) Default Rate ($)
high_risk 188,630 $3,405.0M 30.38% 31.53%
low_risk 1,096,132 $15,724.9M 6.47% 6.19%
medium_risk 973,157 $14,861.4M 15.96% 16.07%

By Term

Term Loans Exposure ($M) Default Rate
36 months 1,607,316 $20,495.7M 10.70%
60 months 650,603 $13,495.6M 17.15%

Timing Metrics

Date Coverage

Key Observation: Highest risk segment: high_risk (30.38% default rate)

📈 Originations vs Defaults

Annual Metrics

Year Loans Volume ($M) Defaults Default $ ($M) Default Rate Default Rate ($)
2007251.0$2.2M45.0$0.5M17.93%22.01%
20081,562.0$14.4M247.0$2.7M15.81%19.04%
20094,716.0$46.4M594.0$6.3M12.60%13.47%
201011,536.0$122.1M1,487.0$16.0M12.89%13.13%
201121,721.0$261.7M3,297.0$43.4M15.18%16.57%
201253,367.0$718.4M8,644.0$127.2M16.20%17.71%
2013134,814.0$1,982.8M21,030.0$330.0M15.60%16.64%
2014235,629.0$3,503.8M41,408.0$645.7M17.57%18.43%
2015421,095.0$6,417.6M76,851.0$1,212.9M18.25%18.90%
2016434,407.0$6,400.6M71,666.0$1,105.9M16.50%17.28%
2017443,579.0$6,585.0M44,854.0$712.9M10.11%10.83%
2018495,242.0$7,936.3M13,460.0$231.6M2.72%2.92%

Cumulative Metrics

Year Cum. Loans Cum. Volume ($B) Cum. Defaults Cum. Default $ ($B) Cum. Default Rate Cum. Default Rate ($)
2007251.0$0.00B45.0$0.00B17.93%22.01%
20081,813.0$0.02B292.0$0.00B16.11%19.43%
20096,529.0$0.06B886.0$0.01B13.57%15.04%
201018,065.0$0.19B2,373.0$0.03B13.14%13.78%
201139,786.0$0.45B5,670.0$0.07B14.25%15.41%
201293,153.0$1.17B14,314.0$0.20B15.37%16.83%
2013227,967.0$3.15B35,344.0$0.53B15.50%16.71%
2014463,596.0$6.65B76,752.0$1.17B16.56%17.62%
2015884,691.0$13.07B153,603.0$2.38B17.36%18.25%
20161,319,098.0$19.47B225,269.0$3.49B17.08%17.93%
20171,762,677.0$26.06B270,123.0$4.20B15.32%16.13%
20182,257,919.0$33.99B283,583.0$4.43B12.56%13.05%
Summary: Total Book: $33.99B | Total Defaults: $4.43B | Overall Default Rate: 12.56%

⚡ Early Defaults Analysis

Early defaults are defined as loans that defaulted within 12 months of origination.

Early Defaults by Vintage Year

Vintage Total Loans Total Defaults Early Defaults Default Rate Early Default Rate
2007251451117.93%4.38%
20081,5622479115.81%5.83%
20094,71659425112.60%5.32%
201011,5361,48748812.89%4.23%
201121,7213,29795915.18%4.42%
201253,3678,6442,88616.20%5.41%
2013134,81421,0306,35815.60%4.72%
2014235,62941,40812,26217.57%5.20%
2015421,09576,85122,86918.25%5.43%
2016434,40771,66628,99716.50%6.68%
2017443,57944,85427,82910.11%6.27%
2018495,24213,46012,7322.72%2.57%

Early Defaults by Segment

Segment Total Loans Total Defaults Early Defaults Default Rate Early Default Rate
high_risk188,63057,31525,72230.38%13.64%
low_risk1,096,13270,92325,8266.47%2.36%
medium_risk973,157155,34564,18515.96%6.60%

📊 Book Composition Analysis

Annual Composition by Count

Year Low Risk % Medium Risk % High Risk %
200747.01%44.62%8.37%
200851.34%42.25%6.40%
200953.92%39.23%6.85%
201054.94%35.33%9.73%
201156.71%31.02%12.26%
201255.11%35.97%8.92%
201345.84%43.54%10.62%
201441.61%46.50%11.90%
201545.34%43.51%11.15%
201647.27%44.05%8.68%
201747.78%45.49%6.73%
201855.84%39.56%4.60%

Annual Composition by Volume

Year Low Risk % Medium Risk % High Risk %
200740.01%46.76%13.23%
200846.61%43.67%9.72%
200950.50%40.70%8.80%
201052.00%35.34%12.67%
201148.27%32.64%19.09%
201247.49%37.20%15.31%
201343.71%42.91%13.38%
201439.03%47.18%13.79%
201542.91%43.27%13.82%
201644.00%45.17%10.83%
201744.60%47.33%8.07%
201855.72%39.70%4.58%
Shift Analysis: low_risk grew from 40.01% to 55.72% (+15.71pp) | medium_risk shrank from 46.76% to 39.70% (-7.06pp) | high_risk shrank from 13.23% to 4.58% (-8.65pp)

📉 Cumulative Default Curves Analysis

This analysis shows the cumulative probability of default (PD) over time for each vintage.

Key PD Milestones by Vintage

Vintage PD6 PD12 PD18 PD24 PD30 PD36 Ultimate PD
20070.00%4.38%7.97%11.95%15.94%17.13%17.93%
20081.92%5.83%9.41%13.12%14.66%15.62%15.81%
20092.25%5.32%7.40%9.69%11.13%12.07%12.60%
20101.42%4.23%6.14%8.01%9.86%11.14%12.89%
20111.66%4.42%7.30%9.61%11.90%13.13%15.18%
20121.82%5.41%8.38%11.40%13.63%15.07%16.20%
20131.46%4.72%7.55%10.59%12.66%14.01%15.60%
20141.56%5.20%8.27%11.41%14.27%15.92%17.57%
20151.72%5.43%9.61%12.82%15.60%17.21%18.25%
20162.16%6.68%10.37%13.56%15.53%16.33%16.50%
20172.15%6.27%8.91%9.95%9.98%9.98%10.11%
20181.46%2.57%2.59%2.59%2.59%2.59%2.72%
Observations: Highest PD12: 2016 vintage (6.68%) | Highest PD24: 2016 vintage (13.56%) | Highest Ultimate PD: 2015 vintage (18.25%) | Peak Hazard Month: Month 12

🔬 Survival Analysis

Default Rate by Segment

Segment Loans Defaults Default Rate Median Months to Default
high_risk188,63057,31530.38%13.0
low_risk1,096,13270,9236.47%16.0
medium_risk973,157155,34515.96%14.0

Default Rate by Vintage

Vintage Loans Defaults Default Rate
20072514517.93%
20081,56224715.81%
20094,71659412.60%
201011,5361,48712.89%
201121,7213,29715.18%
201253,3678,64416.20%
2013134,81421,03015.60%
2014235,62941,40817.57%
2015421,09576,85118.25%
2016434,40771,66616.50%
2017443,57944,85410.11%
2018495,24213,4602.72%

Default Timing Distribution (Hazard Proxy)

Month Bucket Default Count % of Defaults
1-311,8594.18%
4-628,83710.17%
7-935,05812.36%
10-1239,96414.09%
13-1859,13120.85%
19-2445,91416.19%
25-3649,14517.33%
37+11,2463.97%
Peak Hazard Bucket: 13-18 months (59,131 defaults, 20.85%)

Cumulative PD by Segment

Segment PD6 PD12 PD18 PD24 PD36 Ultimate
low_risk0.82%2.41%3.80%4.99%6.32%6.47%
medium_risk2.43%6.72%10.09%12.64%15.30%15.96%
high_risk5.52%13.96%19.84%24.11%28.69%30.38%

📊 Macro Economic Analysis

Analysis of macroeconomic indicators and their correlation with default rates.

Macro Indicators Summary

Indicator Mean Min Max Correlation with Default
Unemployment 5.17% 3.70% 10.00% 0.084
Hy Spread 4.83 2.98 19.88 0.110
Yield Curve 1.70 -0.18 3.79 0.138
Consumer Sentiment 91.1 55.3 101.4 -0.054
Real Income $14,107 $12,053 $15,506 -0.127
Key Insights:
Positive correlations (red) indicate the indicator increases with default rates
Negative correlations (green) indicate the indicator decreases with default rates
• Yield curve shows the strongest positive correlation with defaults
• Real income shows a protective negative correlation

🔧 Model Training & Drift Detection

Note: Model training requires significant memory resources. For full model results including drift detection and P&L analysis, please run the interactive Streamlit app: streamlit run driftbreaker.py

The model uses a discrete-time survival analysis approach with logistic regression to predict default probabilities and detect drift between training and test periods.

📊 Macro Economic Analysis

Analysis of macroeconomic indicators and their correlation with default rates.

Macro Indicators Summary

Indicator Mean Min Max Correlation with Default
Unemployment 5.17% 3.70% 10.00% 0.084
Hy Spread 4.83 2.98 19.88 0.110
Yield Curve 1.70 -0.18 3.79 0.138
Consumer Sentiment 91.1 55.3 101.4 -0.054
Real Income $14,107 $12,053 $15,506 -0.127
Key Insights:
Positive correlations (red) indicate the indicator increases with default rates
Negative correlations (green) indicate the indicator decreases with default rates
• Yield curve shows the strongest positive correlation with defaults
• Real income shows a protective negative correlation

🔧 Model Training & Drift Detection

Note: Model training requires significant memory resources. For full model results including drift detection and P&L analysis, please run the interactive Streamlit app: streamlit run driftbreaker.py

The model uses a discrete-time survival analysis approach with logistic regression to predict default probabilities and detect drift between training and test periods.