Explainable Machine Learning for Breast Cancer Risk Prediction
Authors:
Preprint
- 24 November 2026
- preprint
- Published by Springer Nature in Research Square
Abstract
Breast cancer remains one of the leading causes of cancer-related morbidity and mortality among women worldwide. Early identification of women at increased risk is essential for timely intervention and improved clinical outcomes. Although machine learning has shown considerable promise in breast cancer prediction, comparative evaluations of diverse machine learning paradigms populations remain limited. This study compared probabilistic, linear, ensemble, and deep learning models for breast cancer risk prediction while incorporating explainable artificial intelligence to improve model interpretability. A clinical and epidemiological dataset of Cuban women was used to build six breast cancer prediction models; Logistic Regression, Naïve Bayes, Support Vector Machine, Random Forest, Extreme Gradient Boosting (XGBoost), and Artificial Neural Network. These were trained using inverse class weighting to address class imbalance. Model performance was evaluated using stratified 5-fold and 10-fold cross-validation and an independent hold-out test set. Performance was assessed using ROC-AUC, accuracy, sensitivity, specificity, precision, F1-score, and Matthews Correlation Coefficient (MCC). Statistical differences between models were evaluated using the Wilcoxon signed-rank test, while SHAP (SHapley Additive exPlanations) was employed to interpret feature importance. All six models demonstrated excellent predictive performance, achieving ROC-AUC values exceeding 0.97 across both cross-validation strategies. XGBoost consistently achieved the highest overall performance (), followed closely by Random Forest, with both models demonstrating superior stability and generalization across validation folds. These findings demonstrate that ensemble learning methods provide accurate, robust, and interpretable prediction of breast cancer risk and show promise for supporting personalized risk assessment and early detection of breast cancer.All Related Versions
This publication has 15 references indexed in Scilit:
- Breast cancer prediction using machine learning classification algorithmsIntelligence-Based Medicine, 2024
- Predictive modeling for breast cancer classification in the context of Bangladeshi patients by use of machine learning approach with explainable AIScientific Reports, 2024
- Breast cancer: A review of risk factors and diagnosisMedicine, 2024
- Performance of externally validated machine learning models based on histopathology images for the diagnosis, classification, prognosis, or treatment outcome prediction in female breast cancer: A systematic reviewJournal of Pathology Informatics, 2023
- Leakage and the reproducibility crisis in machine-learning-based sciencePatterns, 2023
- Body Fatness and Cancer — Viewpoint of the IARC Working GroupThe New England journal of medicine, 2016
- Risk factors and hormone-receptor status: epidemiology, risk-prediction models and treatment implications for breast cancerNature Clinical Practice Oncology, 2007
- Benign Breast Disease and the Risk of Breast CancerThe New England journal of medicine, 2005
- Alcohol, tobacco and breast cancer – collaborative reanalysis of individual data from 53 epidemiological studies, including 58 515 women with breast cancer and 95 067 women without the diseaseBritish Journal of Cancer, 2002
- Breast cancer and breastfeeding: collaborative reanalysis of individual data from 47 epidemiological studies in 30 countries, including 50 302 women with breast cancer and 96 973 women without the diseaseThe Lancet, 2002