Datasets:
Card: recipe for building model A/B training mixes as in the paper; link metrics Space
Browse files54 unmodified lines55565758596061 unmodified lines12212312412512612754 unmodified lines- **Preprint (arXiv):** https://arxiv.org/abs/2510.09294- **Code:** https://github.com/zypl-ai/stabilization_uplift (version `v1.0`)- **Metrics package (PyPI):** [`pip install stabilization-uplift`](https://pypi.org/project/stabilization-uplift/)The dataset supports the study of model drift in credit scoring: models are trained on a stable period, evaluated before and after a macroeconomic shock, and compared with and without synthetic training data containing different proportions of synthetic outliers. Stability is measured with the Stabilization Score (SS) and Stabilization Uplift (SU) metrics introduced in the paper.61 unmodified linespip install "stabilization-uplift[shift]"```## Sources and License- **Lending Club data.** The `lending_club` and `lending_club_full_train` configurations are derived from the [Lending Club dataset on Kaggle](https://www.kaggle.com/datasets/wordsforthewise/lending-club), released there under [CC0: Public Domain](https://creativecommons.org/publicdomain/zero/1.0/). These files remain subject to the original dataset's license and terms of use.54 unmodified lines5556575859606161 unmodified lines12312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815954 unmodified lines- **Preprint (arXiv):** https://arxiv.org/abs/2510.09294- **Code:** https://github.com/zypl-ai/stabilization_uplift (version `v1.0`)- **Metrics package (PyPI):** [`pip install stabilization-uplift`](https://pypi.org/project/stabilization-uplift/)- **Metrics calculator and `evaluate` module:** [zyplai/stabilization-uplift Space](https://huggingface.co/spaces/zyplai/stabilization-uplift)The dataset supports the study of model drift in credit scoring: models are trained on a stable period, evaluated before and after a macroeconomic shock, and compared with and without synthetic training data containing different proportions of synthetic outliers. Stability is measured with the Stabilization Score (SS) and Stabilization Uplift (SU) metrics introduced in the paper.61 unmodified linespip install "stabilization-uplift[shift]"```### Building the training data of models A and B as in the paperThe mixes of real and synthetic data used to train model B are not stored separately: they are built from the `lending_club` and `synthetic` configurations. This reproduces the notebooks (CatBoost and other models; for TabPFN keep `issue_d`, and the notebook with LightGBM, NGBoost, TabNet, HGBoosting, XGBoost and FT-Transformer uses `N_SAMPLES = 8000`):```pythonimport pandas as pdREPO = "hf://datasets/zyplai/stabilization-uplift@v1.0"N_SAMPLES, RANDOM_STATE = 4000, 100def sample(data):return data.sample(n=N_SAMPLES, random_state=RANDOM_STATE)columns = pd.read_parquet(f"{REPO}/synthetic/no_outliers.parquet").drop(columns="issue_d").columnstrain, base_test, shock_test = (sample(pd.read_parquet(f"{REPO}/lending_club/{split}.parquet")[columns])for split in ("train", "base_test", "shock_test"))# Model A is trained on `train`. Model B is trained on a mix of `train` with one synthetic split:mixes = {}for split in ["no_outliers", "outliers_0_01", "outliers_0_03", "outliers_0_05","outliers_0_07", "outliers_0_1", "outliers_0_5", "outliers_1_0"]:synthetic = sample(pd.read_parquet(f"{REPO}/synthetic/{split}.parquet")[columns])mixes[split] = pd.concat([synthetic, train]).reset_index(drop=True).drop_duplicates()```Both models are then evaluated on `base_test` and `shock_test`, and compared with the Stabilization Score and Stabilization Uplift.## Sources and License- **Lending Club data.** The `lending_club` and `lending_club_full_train` configurations are derived from the [Lending Club dataset on Kaggle](https://www.kaggle.com/datasets/wordsforthewise/lending-club), released there under [CC0: Public Domain](https://creativecommons.org/publicdomain/zero/1.0/). These files remain subject to the original dataset's license and terms of use.
README.md+32