Code, results and fold-level predictions for "The Hidden Cost of Fixing Imbalance: How Resampling Distorts Probability Calibration and Decisions in Tabular Classification"
Description
Code, result files and fold-level test predictions accompanying the article "The Hidden Cost of Fixing Imbalance: How Resampling Distorts Probability Calibration and Decisions in Tabular Classification" by F. Al-Ma'shumah and Y. Dani. The Python scripts regenerate every number, table and figure of the paper from two public datasets (IBM Telco customer churn and the ULB credit-card fraud data, which are not redistributed here; download links are in README.md). Seven settings (no resampling, SMOTE, SMOTE-Tomek, random over-sampling, class weighting, and isotonic and Platt calibration) are evaluated with logistic regression, random forest and gradient boosting under leakage-safe stratified cross-validation, reporting discrimination (AUROC, AUPRC), calibration (Brier score, log-loss, ECE) and expected decision cost, together with a prior-shift correction. All random seeds are fixed. See README.md for requirements (scikit-learn 1.8.0, imbalanced-learn 0.14.2), file roles and run order.