Comparative Analysis of Machine Learning Algorithms for Breast Cancer Prediction Based on Fine Needle Aspirate Image Features
DOI:
https://doi.org/10.59934/jaiea.v6i1.3098Keywords:
Breast Cancer, Cross-Validation, Machine Learning, Permutation Importance, Support Vector Machine, WDBCAbstract
Breast cancer is the most frequently diagnosed cancer in women, so accurate and explainable prediction models could support data-driven screening. This study compares seven machine learning algorithms, namely Logistic Regression, SVM (RBF), KNN, Decision Tree, Random Forest, Gradient Boosting, and ANN (MLP), for predicting tumour malignancy from 30 cell-nucleus morphometric features of fine needle aspirate images. The dataset contains 569 samples (357 benign, 212 malignant) without missing values or duplicates. The data were split 80:20 with stratification; normalisation and hyperparameter tuning were performed in a pipeline with 5-fold GridSearchCV on the training data only, and model selection used 5 × 3 repeated stratified cross-validation. SVM (RBF) achieved the highest cross-validated F1-score (0.9714 ± 0.0120) and, on 114 test samples, reached an accuracy of 0.9737, precision of 1.0000, recall of 0.9286, F1-score of 0.9630, ROC-AUC of 0.9927, and MCC of 0.9442, with three false negatives and no false positives. Random Forest matched this test accuracy, whereas Logistic Regression achieved the highest ROC-AUC (0.9960). Permutation importance identified texture_worst, concavity_worst, and concavity_mean as the most influential features. Overlapping bootstrap confidence intervals indicate that differences among the best models are not significant, and the model has not been clinically validated.
Downloads
References
F. Bray, M. Laversanne, H. Sung, J. Ferlay, R. L. Siegel, I. Soerjomataram, and A. Jemal, “Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries,” CA: A Cancer Journal for Clinicians, vol. 74, no. 3, pp. 229–263, 2024, doi: 10.3322/caac.21834.
E. Lestari and W. I. Rahayu, “Prediksi keganasan kanker payudara dengan pendekatan machine learning: Systematic literature review,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 3, pp. 1966–1971, 2023, doi: 10.36040/jati.v7i3.6963 (in Indonesian).
S. Zhou, C. Hu, S. Wei, and X. Yan, “Breast cancer prediction based on multiple machine learning algorithms,” Technology in Cancer Research & Treatment, vol. 23, Art. no. 15330338241234791, 2024, doi: 10.1177/15330338241234791.
P. Rismawati, A. I. Natalisanto, and D. R. P. S. Putri, “Klasifikasi sel tumor payudara menggunakan algoritma support vector machine (SVM),” Progressive Physics Journal, vol. 5, no. 1, pp. 356–361, 2024, doi: 10.30872/ppj.v5i1.1092 (in Indonesian).
A. Nugraheni, R. D. Ramadhani, A. B. Arifa, and A. Prasetiadi, “Perbandingan performa antara algoritma Naive Bayes dan K-Nearest Neighbour pada klasifikasi kanker payudara,” Journal of Dinda: Data Science, Information Technology, and Data Analytics, vol. 2, no. 1, pp. 11–20, 2022, doi: 10.20895/dinda.v2i1.391 (in Indonesian).
N. A. Sunarto, “Klasifikasi tumor payudara jinak dan ganas menggunakan algoritma C4.5 pada dataset WBCD,” Jurnal Informatika dan Sistem Informasi (JUISI), vol. 12, no. 1, pp. 43–58, 2026, doi: 10.37715/juisi.v12i1.6236 (in Indonesian).
A. D. F. Mellina, Suhartono, and M. A. Yaqin, “Algoritma decision tree untuk prediksi deteksi penyakit kanker payudara,” JISKA (Jurnal Informatika Sunan Kalijaga), vol. 9, no. 1, pp. 70–78, 2024 (in Indonesian).
K. Handayani, Erni, B. Lailiah, and R. Sa’adah, “Klasifikasi kanker payudara menggunakan Extra Tree dengan SMOTE,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 6, pp. 3100–3105, 2023 (in Indonesian).
R. Pakan and E. Mailoa, “Komparasi kinerja algoritma mechine learning untuk mengklasifikasi penyakit kanker payudara,” Progresif: Jurnal Ilmiah Komputer, vol. 20, no. 1, pp. 493–503, 2024 (in Indonesian).
R. R. A. Nur, N. A. Husaini, M. Arjunnaja, A.-Z. B. Juniarto, and Y. Pamungkas, “Feature selection benchmarks for breast cancer diagnosis: A comparative machine learning study,” Ultima Computing: Jurnal Sistem Komputer, vol. 18, no. 1, pp. 28–37, 2026, doi: 10.31937/sk.v18i1.4636.
V. D. Nabila, C. D. Arzety, A. Herawati, F. Fathoni, and A. Ibrahim, “Analisis prediktif kelangsungan hidup pasien kanker payudara menggunakan algoritma random forest,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 10, no. 4, pp. 5901–5908, 2026, doi: 10.36040/jati.v10i4.18578 (in Indonesian).
R. M. Ali, Nurdin, A. Khaidar, M. Azzanna, and A. Rusadi, “Comparative analysis of random forest algorithms, artificial neural networks, and logistic regression in breast cancer prediction with machine learning approach,” Journal of Artificial Intelligence and Software Engineering (J-AISE), vol. 5, no. 3, pp. 1285–1295, 2025, doi: 10.30811/jaise.v5i3.7028.
M. M. Hossin, F. M. J. M. Shamrat, M. R. Bhuiyan, R. A. Hira, T. Khan, and S. Molla, “Breast cancer detection: an effective comparison of different machine learning algorithms on the Wisconsin dataset,” Bulletin of Electrical Engineering and Informatics, vol. 12, no. 4, pp. 2446–2456, 2023, doi: 10.11591/eei.v12i4.4448.
S. Aamir, A. Rahim, Z. Aamir, S. F. Abbasi, M. S. Khan, M. Alhaisoni, M. A. Khan, K. Khan, and J. Ahmad, “Predicting breast cancer leveraging supervised machine learning techniques,” Computational and Mathematical Methods in Medicine, vol. 2022, Art. no. 5869529, 2022.
A. K. Whardana and R. K. Putri, “Comparative evaluation of supervised learning algorithms for breast cancer classification,” International Journal of Engineering and Manufacturing (IJEM), vol. 15, no. 4, pp. 29–38, 2025, doi: 10.5815/ijem.2025.04.03.
A. Alsabry and M. Algabri, “Iterative tuning of tree-ensemble-based models’ parameters using Bayesian optimization for breast cancer prediction,” Informatics and Automation, vol. 23, no. 1, pp. 129–168, 2024, doi: 10.15622/ia.23.1.5.
O. O. Okundalaye, N. Özdemir, and R. O. Awonusika, “Early breast cancer prediction using optimized machine learning and tumor-immune modeling,” Journal of Computational and Applied Mathematics, vol. 473, 2026, doi: 10.1016/j.cam.2025.116875.
S. Kurnia, Nurdin, and A. Khaidar, “Perbandingan metode machine learning menggunakan metode support vector machine dan artificial neural network dalam memprediksi serangan jantung,” Jurnal Informatika Kaputama (JIK), vol. 9, no. 2, pp. 87–94, 2025 (in Indonesian).
A. Khaidar and S. Kurnia, “Classification of health indicators for diabetes mellitus prediction using a TabTransformer model on clinical tabular data,” Journal of Computer Science and Research (JoCoSiR), vol. 2, no. 2, pp. 8–15, 2024.
A. P. Erwanda, A. Khaidar, and Nurdin, “Convolutional neural network model for multi-class sentiment analysis on Twitter with deep learning approach,” Journal of Artificial Intelligence and Engineering Applications (JAIEA), vol. 5, no. 1, pp. 1965–1970, 2025, doi: 10.59934/jaiea.v5i1.1765.
S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no. 9, Art. no. 100804, 2023, doi: 10.1016/j.patter.2023.100804.
D. Chicco and G. Jurman, “The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification,” BioData Mining, vol. 16, no. 1, Art. no. 4, 2023, doi: 10.1186/s13040-023-00322-4.
O. Rainio, J. Teuho, and R. Klén, “Evaluation metrics and statistical tests for machine learning,” Scientific Reports, vol. 14, Art. no. 6086, 2024, doi: 10.1038/s41598-024-56706-x.
A. Ghasemi, S. Hashtarkhani, D. L. Schwartz, and A. Shaban-Nejad, “Explainable artificial intelligence in breast cancer detection and risk prediction: A systematic scoping review,” Cancer Innovation, vol. 3, no. 5, Art. no. e136, 2024, doi: 10.1002/cai2.136.
T. Khater, A. Hussain, R. Bendardaf, I. M. Talaat, H. Tawfik, S. Ansari, and S. Mahmoud, “An explainable artificial intelligence model for the classification of breast cancer,” IEEE Access, vol. 13, pp. 5618–5633, 2025, doi: 10.1109/ACCESS.2023.3308446.
S. Al-Khaidar, Explainable Artificial Intelligence (XAI): Teori, Metode, dan Implementasi. Indonesia: CV. Madza Media, 2026 (in Indonesian).
R. Shwartz-Ziv and A. Armon, “Tabular data: Deep learning is not all you need,” Information Fusion, vol. 81, pp. 84–90, 2022, doi: 10.1016/j.inffus.2021.11.011.
C. Schröer, F. Kruse, and J. M. Gómez, “A systematic literature review on applying CRISP-DM process model,” Procedia Computer Science, vol. 181, pp. 526–534, 2021, doi: 10.1016/j.procs.2021.01.199.
M. Dutta, K. M. M. Hasan, A. Akter, M. H. Rahman, and M. Assaduzzaman, “An interpretable machine learning-based breast cancer classification using XGBoost, SHAP, and LIME,” Bulletin of Electrical Engineering and Informatics, vol. 13, no. 6, pp. 4306–4315, 2024, doi: 10.11591/eei.v13i6.7866.
I. M. Ananta, H. Amarudin, R. A. Akbar, M. F. Ikhsan, and M. U. Siregar, “Fine-tuned artificial neural network (ANN) with explainable AI (XAI) for classification and interpretation of the Breast Cancer Wisconsin,” JISKA (Jurnal Informatika Sunan Kalijaga), vol. 11, no. 3, pp. 300–317, 2026.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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








