A Calibrated Stacking Ensemble Framework for High-Fidelity Breast Cancer Mortality Prediction Ensemble for Cancer Prognosis
Abstract
Background: Accurate breast cancer mortality prediction is constrained by severe class imbalance and the sensitivity-specificity trade-off, which frequently induces high false-positive rates in clinical settings. To address this limitation, we propose a rigorously calibrated Static Stacking Ensemble framework.
Methods: The model was developed from the METABRIC cohort (N=1816) using 5-fold stratified cross-validation, while the SEER dataset (N=4024) was reserved for independent external validation. The architecture combines out-of-fold (OOF) predictions from deep neural network, XGBoost, and random forest base learners. To replace the standard fixed decision threshold (default τ=0.5), we used a data-driven threshold based on Youden’s J statistic.
Results: Baseline models had important limitations, including a specificity of 0.1997 in standalone deep learning and weight collapse in evolutionary ensembles. At the optimized decision threshold (τ=0.7378), the proposed model balanced sensitivity and specificity. Evaluated on the independent cohort, the model yielded a specificity of 0.6996, a sensitivity of 0.7298, an accuracy of 0.7212, and an F1 score of 0.7894. The framework achieved a ROC-AUC of 0.6925, an area under the precision-recall curve (PR-AUC) of 0.8914, and a Brier score of 0.1563.
Conclusion: Combining OOF prediction stacking with an optimized decision threshold provides a calibrated clinical decision support system (CDSS). This framework minimizes prognostic false alarms and robustly stratifies high-risk patients across heterogeneous cohorts, significantly outperforming isolated baseline architectures.
References
Feng K, Yi Z, Xu B. Artificial intelligence and breast cancer management: from data to the clinic. Cancer Innovation. 2025;4(2):e159. doi: 10.1002/cai2.159
Abdollahi J, Keshandehghan A, Gardaneh M, Panahi Y, Gardaneh M. Accurate detection of breast cancer metastasis using a hybrid model of artificial intelligence algorithm. doi: 10.32768/abc.20207122-28
McCaffrey C, Jahangir C, Murphy C, Burke C, Gallagher WM, Rahman A. Artificial intelligence in digital histopathology for predicting patient prognosis and treatment efficacy in breast cancer. Expert review of molecular diagnostics. 2024;24(5):363-77. doi: 10.1080/14737159.2024.2346545
Pesapane F, Battaglia O, Pellegrino G, Mangione E, Petitto S, Fiol Manna E. Advances in breast cancer risk modeling: integrating clinics, imaging, pathology and artificial intelligence for personalized risk assessment. Future Oncology. 2023;19(38):2547-64. doi: 10.2217/fon-2023-0365
Zhang J, Wu J, Zhou XS, Shi F, Shen D. Recent advancements in artificial intelligence for breast cancer: Image augmentation, segmentation, diagnosis, and prognosis approaches. Seminars in Cancer Biology. Academic Press; 2023;96:11-25. doi: 10.1016/j.semcancer.2023.09.001
Guo J, Hu J, Zheng Y, Zhao S, Ma J. Artificial intelligence: opportunities and challenges in the clinical applications of triple-negative breast cancer: Clinical Studies. British Journal of Cancer. 2023;128(12):2141-9. doi: 10.1038/s41416-023-02215-z
Akinlade O, Abdollahi J, Etchie PM, Ajagbe S, Alabi O, Adeyanju AB. Ensuring effective cervical cancer diseases diagnosis system using ensemble machine learning model. IAES International Journal of Artificial Intelligence (IJ-AI). 2026;15(3):2410-22. doi: 10.11591/ijai.v15.i3.pp2410-2422
Javadzadeh Barzaki MA, Negaresh M, Abdollahi J, Mohammadi M, Ghobadi H, Mohammadzadeh B, Amani F. Using deep learning networks for classification of lung cancer nodules in CT images. Iranian Congress of Radiology. Iranian Society of Radiology; 2022;37(2):34-34. doi: 10.22034/icrj.2022.173678
Wani NA, Kumar R, Bedi J. Harnessing fusion modeling for enhanced breast cancer classification through interpretable artificial intelligence and in-depth explanations. Engineering Applications of Artificial Intelligence. 2024;136:108939. doi: 10.1016/j.engappai.2024.108939
Ghasemi A, Hashtarkhani S, Schwartz DL, Shaban-Nejad A. Explainable artificial intelligence in breast cancer detection and risk prediction: A systematic scoping review. Cancer Innovation. 2024;3(5):e136. doi: 10.1002/cai2.136
Abdollahi J, Davari N, Panahi Y, Gardaneh M. Detection of metastatic breast cancer from whole-slide pathology images using an ensemble deep-learning method. doi: 10.32768/abc.202293364-376
Yan S, Li J, Wu W. Artificial intelligence in breast cancer: application and future perspectives. Journal of Cancer Research and Clinical Oncology. 2023;149(17):16179-90. doi: 10.1007/s00432-023-05337-2
K EI, Kirubha SA, Precious JG. Survival analysis of breast cancer patients using machine learning models. Multimedia Tools and Applications. 2023;82(20):30909-28. doi: 10.1007/s11042-023-14989-8
Shafiq A, Çolak AB, Sindhu TN, Lone SA, Abushal TA. Modeling and survival exploration of breast carcinoma: a statistical, maximum likelihood estimation, and artificial neural network perspective. Artificial Intelligence in the Life Sciences. 2023;4:100082. doi: 10.1016/j.ailsci.2023.100082
Singh LK, Khanna M, Singh R. Artificial intelligence based medical decision support system for early and accurate breast cancer prediction. Advances in engineering software. 2023;175:103338. doi: 10.1016/j.advengsoft.2022.103338
Khater T, Hussain A, Bendardaf R, Talaat IM, Tawfik H, Ansari S, et al. An explainable artificial intelligence model for the classification of breast cancer. IEEE Access. 2023;13:5618-33. doi: 10.1109/ACCESS.2023.3308446
Zhang Y, Liu J, Shen W. A review of ensemble learning algorithms used in remote sensing applications. Applied Sciences. 2022;12(17):8654. doi: 10.3390/app12178654
Authors
Copyright (c) 2026 Jafar Abdollahi

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Copyright©. This is an open-access article distributed under the terms of the Creative Commons Attribution-Non-Commercial 4.0 International License, which permits copy and redistribution of the material in any medium or format or adapt, remix, transform, and build upon the material for any purpose, except for commercial purposes.