Skip to content
Research Article Open access CC BY 4.0

Explainable AI for Breast Cancer Diagnosis: Comparative Analysis of ML Models Using Random Forest Feature Selection and SHAP Interpretability

John Kamwele Mutinda, Tecla Mutave Kyalo, Joyce Akhalakwa Mukolwe, Jackson Ndoto Munyao, Millicent Auma Omondi, Wycliffe Nzoli Nzomo, Titus Mutua Kioko, David Chepkonga, Samuel Kipsang Kaptum, Erick Munala Sifuna, Amos Kipkorir Langat

Asian Journal of Research in Computer Science · pp. 30–46 · Published 3 Oct 2025

10.9734/ajrcos/2025/v18i10762

Abstract

Breast cancer diagnosis is critical for improving patient outcomes, yet traditional methods face limitations such as invasiveness and human error. This study presents an explainable AI framework for breast cancer classification using six ML models: LR, NB, KNN, RF, SVC, and DT. SMOTE addresses class imbalance, while RF feature selection reduces dimensionality from 30 to 19 features. SHAP interpretability is integrated to provide clinical insights into feature contributions, enhancing trust in model predictions. The SVC model with RF-selected features achieves superior performance, with an accuracy of 0.9930 and recall of 1.0000, highlighting the importance of features such as smoothness mean. This framework balances accuracy, efficiency, and transparency, offering a foundation for clinical deployment and guiding future work on external validation and broader adoption of explainable ML in breast cancer care.

Breast cancer diagnosis machine learning random forest SHAP feature selection explainable AI

Cited by 6

6 citations reported by external sources — individual citing-article records aren't available to list yet.

Article metrics

Real usage data collected on this platform.

15

Page views

0

PDF downloads

0

Outbound clicks

6

Citations

Views over time

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

Traffic sources

Referring site, by host.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.