Comparing Cost-Sensitive LightGBM and TabPFN for Imbalanced Coronary Heart Disease Risk Prediction

Arfian Jauhar Himawan, A'yunin Sofro

Abstract


Ten-year coronary heart disease (CHD) risk prediction remains challenging due to class-imbalanced cohorts and evaluations lacking statistical uncertainty estimates. This study compares a fully tuned, cost-sensitive LightGBM pipeline with a zero-tuning tabular foundation model (TabPFN) on the imbalanced Framingham cohort of 4,240 records with a 15.19% event rate, under a leakage-free protocol that includes an eight-scenario ablation, a DeLong test, bootstrap confidence intervals, a five-seed robustness check, calibration, and decision-curve analysis. TabPFN achieved higher discrimination, with an area under the receiver operating characteristic curve of 0.713 compared with 0.677 for the tuned ensemble (DeLong p = 0.0037), and better calibration, with a Brier score of 0.120 compared with 0.199. It also attained the strongest imbalance-aware detection, with an F1-score of 0.380 and a Matthews correlation coefficient of 0.245, and remained superior under all five seeds, averaging 0.737 compared with 0.706. Threshold optimization raised minority-class recall from 0.031 to at least 0.47 without resampling, and ten-predictor curation did not harm the foundation model, leaving its AUC unchanged and slightly increasing its threshold-dependent F1-score and MCC. Normalized SHAP-based relative feature-importance weights (0–100) identified age, smoking, and blood pressure as dominant drivers, consistent with established CHD risk factors. All reported performance reflects internal validation on the Framingham cohort; the paired-bootstrap 95% CI of the Brier-score difference ([0.061, 0.098]) confirms the calibration advantage over the tuned cost-sensitive ensemble, constituting preliminary evidence toward SDG 3 (Target 3.4) screening applications that warrants external validation before any clinical use.


Keywords


catastrophic disease; class imbalance; coronary heart disease; sustainable develop- ment goals; TabPFN

Full Text:

PDF

References


[1] World Health Organization. Cardiovascular Diseases (CVDs): Fact Sheet. URL: https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds). Accessed: 2026-01-29. 2023.

[2] Republik Indonesia. Undang-Undang Republik Indonesia Nomor 24 Tahun 2007 tentang Penanggulangan Bencana. Lembaran Negara RI Tahun 2007 Nomor 66. 2007.

[3] United Nations General Assembly. Transforming Our World: The 2030 Agenda for Sustainable Development. URL: https://sdgs.un.org/2030agenda. Resolution A/RES/70/1. 2015.

[4] Tianqi Chen and Carlos Guestrin. “XGBoost: A Scalable Tree Boosting System”. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2016, pp. 785–794. doi: 10.1145/2939672.2939785.

[5] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. “LightGBM: A Highly Efficient Gradient Boosting Decision Tree”. In: Advances in Neural Information Processing Systems 30 (NeurIPS). 2017, pp. 3146–3154.

[6] Jerome H. Friedman. “Greedy Function Approximation: A Gradient Boosting Machine”. In: Annals of Statistics 29.5 (2001), pp. 1189–1232. doi: 10.1214/aos/1013203451.

[7] Lisa M. Sullivan, Joseph M. Massaro, and Ralph B. D’Agostino. “Presentation of Multivariate Data for Clinical Use: The Framingham Study Risk Score Functions”. In: Statistics in Medicine 23.10 (2004), pp. 1631–1660. doi: 10.1002/sim.1742.

[8] Haibo He and Edwardo A. Garcia. “Learning from Imbalanced Data”. In: IEEE Transactions on Knowledge and Data Engineering 21.9 (2009), pp. 1263–1284. doi: 10.1109/TKDE.2008.239.

[9] Charles Elkan. “The Foundations of Cost-Sensitive Learning”. In: Proceedings of the 17th International Joint Conference on Artificial Intelligence (IJCAI). 2001, pp. 973–978.

[10] Joffrey L. Leevy, Justin M. Johnson, John Hancock, and Taghi M. Khoshgoftaar. “Threshold optimization and random undersampling for imbalanced credit card data”. In: Journal of Big Data 10.1 (2023), p. 58. doi: 10.1186/s40537-023-00738-z.

[11] Nitesh V. Chawla, Kevin W. Bowyer, Lawrence O. Hall, and W. Philip Kegelmeyer. “SMOTE: Synthetic Minority Over-sampling Technique”. In: Journal of Artificial Intelligence Research 16 (2002), pp. 321–357. doi: 10.1613/jair.953.

[12] Siti Amiroch, Fitri Nur Laili, Awawin Mustana Rohmah, and Dicka Yale Kardono. “Coronary Heart Disease Risk Prediction under Class Imbalance Using XGBoost with SHAP-Based Interpretation”. In: CAUCHY: Jurnal Matematika Murni dan Aplikasi 11.1 (2026), pp. 937–955. doi: 10.18860/cauchy.v11i1.37938.

[13] Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. “Accurate Predictions on Small Data with a Tabular Foundation Model”. In: Nature 637 (2025), pp. 319–326. doi: 10.1038/s41586-024-08328-6.

[14] Samuel Müller, Noah Hollmann, Sebastian Pineda Arango, Josif Grabocka, and Frank Hutter. “Transformers can do Bayesian inference”. In: Proceedings of the Tenth International Conference on Learning Representations (ICLR). 2022. doi: 10.48550/arXiv.2112.10510.

[15] Noah Hollmann, Samuel Müller, Katharina Eggensperger, and Frank Hutter. “TabPFN: A transformer that solves small tabular classification problems in a second”. In: Proceedings of the Eleventh International Conference on Learning Representations (ICLR). 2023. doi: 10.48550/arXiv.2207.01848.

[16] Elizabeth R. DeLong, David M. DeLong, and Daniel L. Clarke-Pearson. “Comparing the Areas under Two or More Correlated Receiver Operating Characteristic Curves: A Nonparametric Approach”. In: Biometrics 44.3 (1988), pp. 837–845. doi: 10.2307/2531595.

[17] Bradley Efron. “Bootstrap Methods: Another Look at the Jackknife”. In: The Annals of Statistics 7.1 (1979), pp. 1–26. doi: 10.1214/aos/1176344552.

[18] Glenn W. Brier. “Verification of Forecasts Expressed in Terms of Probability”. In: Monthly Weather Review 78.1 (1950), pp. 1–3. doi: 10.1175/1520-0493(1950)078<0001:VOFEIT>2.0.CO;2.

[19] Andrew J. Vickers and Elena B. Elkin. “Decision Curve Analysis: A Novel Method for Evaluating Prediction Models”. In: Medical Decision Making 26.6 (2006), pp. 565–574. doi: 10.1177/0272989X06295361.

[20] Bing He et al. “Development of Machine Learning-Based Differential Diagnosis Model and Risk Prediction Model of Organ Damage for Severe Mycoplasma pneumoniae Pneumonia in Children”. In: Scientific Reports 15 (2025), p. 9431. doi: 10.1038/s41598-025-92089-3.

[21] Brian W. Matthews. “Comparison of the Predicted and Observed Secondary Structure of T4 Phage Lysozyme”. In: Biochimica et Biophysica Acta (BBA) — Protein Structure 405.2 (1975), pp. 442–451. doi: 10.1016/0005-2795(75)90109-9.

[22] Scott M. Lundberg and Su-In Lee. “A Unified Approach to Interpreting Model Predictions”. In: Advances in Neural Information Processing Systems 30 (NeurIPS). 2017, pp. 4768–4777.

[23] Lloyd S. Shapley. “A Value for n-Person Games”. In: Contributions to the Theory of Games, Volume II. Ed. by Harold W. Kuhn and Albert W. Tucker. Princeton University Press, 1953, pp. 307–317. doi: 10.1515/9781400881970-018.

[24] Ardi Kurniawan, Nur Azizah, and Sheila Sevira Asteriska Naura. “Comparing Multivariate Adaptive Regression Splines and Machine Learning Methods for Classifying Pneumonia in Indonesian Toddlers”. In: CAUCHY: Jurnal Matematika Murni dan Aplikasi 10.1 (2025), pp. 467–479. doi: 10.18860/cauchy.v10i1.32418.




DOI: https://doi.org/10.18860/cauchy.v11i2.45897

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Arfian Jauhar Himawan, A'yunin Sofro

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Editorial Office
Mathematics Department,
Maulana Malik Ibrahim State Islamic University of Malang
Gajayana Street 50 Malang, East Java, Indonesia 65144
e-mail: cauchy@uin-malang.ac.id

Creative Commons License
CAUCHY: Jurnal Matematika Murni dan Aplikasi is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.