File size: 623 Bytes
5cf7ad9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
license: apache-2.0
tags:
  - tabular-regression
  - finance
  - settlement-fails
---

# Fails-Forecasting v1 (XGBoost + LightGBM)

Predicts next-day settlement-fail notional for US Treasuries & corporates.

| metric | value |
|--------|-------|
| MAE    | **4.2 bn** |
| RMSE   | 5.8 bn |

## Files
* `xgb_next_day_fails_model.joblib` – point prediction  
* `lgb_quantile90_next_day_fails.joblib` – 90-percentile upper-bound

Trained on FINRA FTD + TRACE (2009-2025).

**Usage**

```python
import joblib, pandas as pd
model = joblib.load("xgb_next_day_fails_model.joblib")
y_hat = model.predict(pd.DataFrame(...))