Explainable Machine Learning for Breast Cancer Risk Prediction

Authors:

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.

This publication has 15 references indexed in Scilit: