Enhancing Breast Cancer Classification based on BPSO Feature Selection and Machine Learning Techniques
Received: 10 March 2025 | Revised: 6 April 2025 and 9 April 2025 | Accepted: 19 April 2025 | Online: 9 May 2025
Corresponding author: Yasser Ramadan
Abstract
Breast cancer remains one of the most prevalent and life-threatening diseases among women worldwide. Early and accurate diagnosis have been shown to enhance treatment effectiveness and patient survival rates. This study presents an enhanced breast cancer classification framework by leveraging Machine Learning (ML) techniques and feature selection methods. The methodology involves data preprocessing, feature selection using the Binary Particle Swarm Optimization (BPSO), and classification through advanced ML models, including Random Forest (RF), Logistic Regression (LR), Gradient Boosting (GB), Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Naive Bayes (NB). The proposed approach is rigorously evaluated using key performance metrics such as accuracy, precision, recall, F1-score, and ROC-AUC. By reducing the feature set from 30 to 13, BPSO enhances both model efficiency and predictive performance. Among the classifiers evaluated, RF achieved the highest accuracy of 99.2%, accompanied by a perfect ROC-AUC score of 1.0. The results demonstrate the potential of ML-driven breast cancer classification in revolutionizing healthcare by enabling more accurate, efficient, and personalized treatment strategies.
Keywords:
breast cancer, breast cancer classification, breast cancer diagnosing, BPSODownloads
References
B. Ajlouni, T. Mukattash, A. Al-Nabulsi, R. A. Farha, W. Ta’an, and R. Itani, "Evaluating Nutrition-related Knowledge, Attitudes, and Practices for the Prevention of Breast Cancer among Women in Jordan," Jordan Journal of Nursing Research, vol. 2, no. 4, pp. 289–298, Dec. 2023.
Z. Lafi et al., "Synergistic combination of doxorubicin with hydralazine, and disulfiram against MCF-7 breast cancer cell line," Plos One, vol. 18, no. 9, Sep. 2023, Art. no. e0291981.
A. A. Tawil, A. Shaban, and L. Almazaydeh, "A comparative analysis of convolutional neural networks for breast cancer prediction," International Journal of Electrical and Computer Engineering, vol. 14, no. 3, pp. 3406–3414, Jun. 2024.
A. A. Alhussan et al., "Classification of Breast Cancer Using Transfer Learning and Advanced Al-Biruni Earth Radius Optimization," Biomimetics, vol. 8, no. 3, Jul. 2023, Art. no. 270.
S. Thirumalaisamy et al., "Breast Cancer Classification Using Synthesized Deep Learning Model with Metaheuristic Optimization Algorithm," Diagnostics, vol. 13, no. 18, Sep. 2023, Art. no. 2925.
K. M. M. Uddin, N. Biswas, S. T. Rikta, and S. K. Dey, "Machine learning-based diagnosis of breast cancer utilizing feature optimization technique," Computer Methods and Programs in Biomedicine Update, vol. 3, Jan. 2023, Art. no. 100098.
M. Kumar, S. Singhal, S. Shekhar, B. Sharma, and G. Srivastava, "Optimized Stacking Ensemble Learning Model for Breast Cancer Detection and Classification Using Machine Learning," Sustainability, vol. 14, no. 21, Nov. 2022, Art. no. 13998.
M. S. A. Reshan et al., "Enhancing Breast Cancer Detection and Classification Using Advanced Multi-Model Features and Ensemble Machine Learning Techniques," Life, vol. 13, no. 10, Oct. 2023, Art. no. 2093.
M. Obayya et al., "Hyperparameter Optimizer with Deep Learning-Based Decision-Support Systems for Histopathological Breast Cancer Diagnosis," Cancers, vol. 15, no. 3, Feb. 2023, Art. no. 885.
E. Michael, H. Ma, H. Li, and S. Qi, "An Optimized Framework for Breast Cancer Classification Using Machine Learning," BioMed Research International, vol. 2022, no. 1, Feb. 2022, Art. no. 8482022.
M. R. Islam et al., "Enhancing breast cancer segmentation and classification: An Ensemble Deep Convolutional Neural Network and U-net approach on ultrasound images," Machine Learning with Applications, vol. 16, Jun. 2024, Art. no. 100555.
S. Chakravarthy, B. Nagarajan, V. V. Kumar, T. R. Mahesh, R. Sivakami, and J. R. Annand, "Breast Tumor Classification with Enhanced Transfer Learning Features and Selection Using Chaotic Map-Based Optimization," International Journal of Computational Intelligence Systems, vol. 17, no. 1, Feb. 2024, Art. no. 18.
S. M. Sylviaa and N. Sudha, "Enhancing Breast Cancer Classification: A Deep Learning Approach with Outlier Detection with Egret Swarm Optimization Algorithm and Feature Selection Integratio," Journal of Angiotherapy, vol. 8, no. 3, pp. 1–13, Mar. 2024.
C. S. Rajpoot, G. Sharma, P. Gupta, P. Dadheech, U. Yahya, and N. Aneja, "Feature Selection-based Machine Learning Comparative Analysis for Predicting Breast Cancer," Applied Artificial Intelligence, vol. 38, no. 1, Dec. 2024, Art. no. 2340386.
R. Gurumoorthy and M. Kamarasan, "Breast Cancer Classification from Histopathological Images using Future Search Optimization Algorithm and Deep Learning," Engineering, Technology & Applied Science Research, vol. 14, no. 1, pp. 12831–12836, Feb. 2024.
Md. R. Islam, Md. S. Islam, and S. Majumder, "Breast Cancer Prediction: A Fusion of Genetic Algorithm, Chemical Reaction Optimization, and Machine Learning Techniques," Applied Computational Intelligence and Soft Computing, vol. 2024, no. 1, Aug. 2024, Art. no. 7221343.
A. Bilal, A. Imran, T. I. Baig, X. Liu, E. Abouel Nasr, and H. Long, "Breast cancer diagnosis using support vector machine optimized by improved quantum inspired grey wolf optimization," Scientific Reports, vol. 14, no. 1, May 2024, Art. no. 10714.
S. Thawkar, V. Katta, A. R. Parashar, L. K. Singh, and M. Khanna, "Breast cancer: A hybrid method for feature selection and classification in digital mammography," International Journal of Imaging Systems and Technology, vol. 33, no. 5, pp. 1696–1712, Sep. 2023.
A. Bansal, V. K. Lohan, M. Khanna, and S. Agnihotri, "A Novel Efficient Approach for Feature Selection for Enhanced Performance in Breast Cancer Prediction," in 4th International Conference on Advanced Network Technologies and Intelligent Computing, Varanasi, India, 2024, pp. 478–488.
L. K. Singh, M. Khanna, and R. Singh, "An enhanced soft-computing based strategy for efficient feature selection for timely breast cancer prediction: Wisconsin Diagnostic Breast Cancer dataset case," Multimedia Tools and Applications, vol. 83, no. 31, pp. 76607–76672, Sep. 2024.
"Breast Cancer Dataset." Kaggle. [Online]. Available: https://www.kaggle.com/datasets/adhamelkomy/breast-cancer.
M. Kaddes, Y. M. Ayid, A. M. Elshewey, and Y. Fouad, "Breast cancer classification based on hybrid CNN with LSTM model," Scientific Reports, vol. 15, no. 1, Feb. 2025, Art. no. 4409.
M. Y. Shams, Z. Tarek, and A. M. Elshewey, "A novel RFE-GRU model for diabetes classification using PIMA Indian dataset," Scientific Reports, vol. 15, no. 1, Jan. 2025, Art. no. 982.
Z. Tarek, A. A. Alhussan, D. S. Khafaga, E.-S. M. El-Kenawy, and A. M. Elshewey, "A snake optimization algorithm-based feature selection framework for rapid detection of cardiovascular disease in its early stages," Biomedical Signal Processing and Control, vol. 102, Apr. 2025, Art. no. 107417.
E.-S. M. Elkenawy, A. A. Alhussan, D. S. Khafaga, Z. Tarek, and A. M. Elshewey, "Greylag goose optimization and multilayer perceptron for enhancing lung cancer classification," Scientific Reports, vol. 14, no. 1, Oct. 2024, Art. no. 23784.
A. M. Elshewey, R. Y. Youssef, H. M. El-Bakry, and A. M. Osman, "Water potability classification based on hybrid stacked model and feature selection," Environmental Science and Pollution Research, vol. 32, no. 13, pp. 7933–7949, Mar. 2025.
O. I. Ramadan et al., "Co-administration of either curcumin or resveratrol with cisplatin treatment decreases hepatotoxicity in rats via anti-inflammatory and oxidative stress-apoptotic pathways," PeerJ, vol. 12, Jul. 2024, Art. no. e17687.
L. S. Ali, G. Mohamed, M. Akeel, K. S. ElBayoumi, and A. E.-F. B. M. El-Beltagy, "Zingiber officinale ethanolic extract improved organs function in lipopolysaccharides-induced organ toxicity by modulating inflammation and oxidative stress in male rats," Egyptian Journal of Basic and Applied Sciences, vol. 11, no. 1, pp. 213–231, Dec. 2024.
A. Jafari, "Machine-learning methods in detecting breast cancer and related therapeutic issues: a review," Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization, vol. 12, no. 1, Dec. 2024, Art. no. 2299093.
Y. Guo et al., "Machine learning and new insights for breast cancer diagnosis," Journal of International Medical Research, vol. 52, no. 4, Apr. 2024, Art. no. 03000605241237867.
S. A. Z. Hassan, "An AI healthcare ecosystem framework for Covid-19 detection and forecasting using CronaSona," Medical & Biological Engineering & Computing, vol. 62, no. 7, pp. 1959–1979, Jul. 2024.
S. A. Z. Hassan, "MemorySona: Illuminating Cognitive Health with Deep Learning - A Mobile Medical App for Alzheimer’s Patients, Emphasizing Detection through Brain MRI Images," in 2024 6th International Conference on Computing and Informatics, New Cairo - Cairo, Egypt, 2024, pp. 83–90.
L. B. Ammar, "Enhanced Diagnosis of Lung Cancer through an Ensemble Learning Model leveraging an Adaptive Optimization Algorithm," Engineering, Technology & Applied Science Research, vol. 14, no. 6, pp. 18518–18524, Dec. 2024.
E.-S. M. El-Kenawy, N. Khodadadi, A. Ibrahim, M. M. Eid, A. M. Osman, and A. M. Elshewey, "An optimized model for Liver disease classification based on BPSO Using Machine learning models," Mesopotamian Journal of Computer Science, vol. 2024, pp. 214–223, Dec. 2024.
A. M. Elshewey and A. M. Osman, "Orthopedic disease classification based on breadth-first search algorithm," Scientific Reports, vol. 14, no. 1, Oct. 2024, Art. no. 23368.
Y. Fouad, A. M. Osman, S. A. Z. Hassan, H. M. El-Bakry, and A. M. Elshewey, "Adaptive Visual Sentiment Prediction Model Based on Event Concepts and Object Detection Techniques in Social Media," International Journal of Advanced Computer Science and Applications, vol. 14, no. 7, pp. 252-256, 2023.
S. Aamir et al., "Predicting Breast Cancer Leveraging Supervised Machine Learning Techniques," Computational and Mathematical Methods in Medicine, vol. 2022, no. 1, Aug. 2022, Art. no. 5869529.
T. Khater et al., "An Explainable Artificial Intelligence Model for the Classification of Breast Cancer," IEEE Access, vol. 13, pp. 5618–5633, 2025.
S. B. Manir and P. Deshpande, "Critical Risk Assessment, Diagnosis, and Survival Analysis of Breast Cancer," Diagnostics, vol. 14, no. 10, May 2024, Art. no. 984.
Downloads
How to Cite
License
Copyright (c) 2025 Osama I. Ramadan, Lashin S. Ali, Yasser Ramadan, Randa M. Abobaker, Hoda M. Flifel, Mohamed A. Elkholy, Hadaiea I. Abobaker, Eman M. M. Gabr, Ibrahim I. Hemdan, Samah A. Z. Hassan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.