Hyperparameter optimization of breast ultrasound image classification models using ant colony optimization based on texture features
Downloads
Breast cancer is one of the most prevalent types of cancer in humans and has the highest cumulative risk compared to other types of cancer. Accurate diagnosis and efficient intervention for this disease are very important to improve patient survival. This study aims to optimize machine learning algorithms using a limited number of features in order to produce an efficient breast cancer classification model that remains competitive with deep learning–based models. Furthermore, this study is expected to assist pathologists and doctors in the treatment of breast cancer. The dataset used in this study consists of three classes (benign, malignant, and normal) with a total of 780 breast ultrasound images from 600 patients. All images were processed and augmented to enrich data variation before modeling using five classification algorithms: Random Forest, SVM, Decision Tree, Gradient Boosting, and k-NN. Modeling was conducted in two scenarios: without optimization and with hyperparameter optimization using the Ant Colony Optimization algorithm. The results showed that the GLCM angle orientation had a relatively small effect on model performance. The best accuracy for each orientation was achieved with k-NN+ ACO (0.95 at 00), SVM+ACO (0.94 at 450), SVM+ACO (0.90 at 900), and RF+ACO (0.95 at 1350).
[1] Globocan, “Global Cancer Statistics in the World in 2022,” 2022. [Online]. Available: https://gco.iarc.who.int/media/globocan/factsheets/populations/900-world-fact-sheet.pdf
[2] American Cancer Society, “Breast Cancer Facts and Figures 2019–2020,” American Cancer Society, Inc, Atlanta, 2019.
[3] N. Aprilia and R. Rumini, “Breast Cancer Classification Based on Ultrasound Images using the Support Vector Machine (SVM) Algorithm,” SISTEMASI, vol. 13, no. 4, p. 1438, July 2024, doi: 10.32520/stmsi.v13i4.4113.
[4] M. Minnoor and V. Baths, “Diagnosis of Breast Cancer using Random Forests,” Procedia Computer Science, vol. 218, pp. 429–437, 2023, doi: 10.1016/j.procs.2023.01.025.
[5] 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, p. 100098, 2023, doi: 10.1016/j.cmpbup.2023.100098.
[6] S. Aamir et al., “Predicting Breast Cancer Leveraging Supervised Machine Learning Techniques,” Computational and Mathematical Methods in Medicine, vol. 2022, pp. 1–13, Aug. 2022, doi: 10.1155/2022/5869529.
[7] F. J. Kaunang, B. Hakim, F. Fraderic, S. Hartono, and A. K. Mulyanto, “Breast Cancer Detection using Decision Tree and Random Forest,” vol. 9, no. 2, 2025, doi: 10.30871/jaic.v9i2.9073.
[8] W. Al-Dhabyani, M. Gomaa, H. Khaled, and A. Fahmy, “Dataset of Breast Ultrasound Images,” Data in Brief, vol. 28, p. 104863, Feb. 2020, doi: 10.1016/j.dib.2019.104863.
[9] İ. Pacal, “Deep Learning Approaches for Classification of Breast Cancer in Ultrasound (US) Images,” Iğdır Üniversitesi Fen Bilimleri Enstitüsü Dergisi, vol. 12, no. 4, pp. 1917–1927, Dec. 2022, doi: 10.21597/jist.1183679.
[10] A. Surya, A. K. Shah, and J. Kabore, “Enhanced Breast Cancer Tumor Classification using MobileNetV2: A Detailed Exploration on Image Intensity, Error Mitigation, and Streamlit-driven Real-time Deployment,” ArXiv, 2024, doi: 10.48550/arXiv.2312.03020.
[11] C. Cruz-Ramos, O. García-Avila, J.-A. Almaraz-Damian, V. Ponomaryov, R. Reyes-Reyes, and S. Sadovnychiy, “Benign and Malignant Breast Tumor Classification in Ultrasound and Mammography Images via Fusion of Deep Learning and Handcraft Features,” Entropy, vol. 25, no. 7, p. 991, June 2023, doi: 10.3390/e25070991.
[12] M. Istighosah, A. Sunyoto, and T. Hidayat, “Breast Cancer Detection in Histopathology Images using ResNet101 Architecture,” SinkrOn, vol. 8, no. 4, pp. 2138–2149, Oct. 2023, doi: 10.33395/sinkron.v8i4.12948.
[13] M. Korkmaz and K. Kaplan, “Effectiveness Analysis of Deep Learning Methods for Breast Cancer Diagnosis Based on Histopathology Images,” Applied Sciences, vol. 15, no. 3, p. 1005, Jan. 2025, doi: 10.3390/app15031005.
[14] W. He, T. Zhou, Y. Xiang, Y. Lin, and J. Hu, “Deep Learning in Image Classification: Evaluating VGG19’s Performance on Complex Visual Data,” ArXiv, 2024, doi: 10.48550/arXiv.2412.20345.
[15] Y. Yanzheng, “Deep Learning Approaches for Image Classification,” in Proceedings of the 2022 6th International Conference on Electronic Information Technology and Computer Engineering, Xiamen, China, 2022. doi: 10.1145/3573428.3573691.
[16] R. Koulali, H. Zaidani, and M. Zaim, “Image Classification Approach using Machine Learning and an Industrial Hadoop Based Data Pipeline,” Big Data Research, vol. 24, p. 100184, May 2021, doi: 10.1016/j.bdr.2021.100184.
[17] P. Wang, E. Fan, and P. Wang, “Comparative Analysis of Image Classification Algorithms Based on Traditional Machine Learning and Deep Learning,” Pattern Recognition Letters, vol. 141, pp. 61–67, Jan. 2021, doi: 10.1016/j.patrec.2020.07.042.
[18] M. F. Naufal and S. F. Kusuma, “Analisis Perbandingan Algoritma Machine Learning dan Deep Learning untuk Klasifikasi Citra Sistem Isyarat Bahasa Indonesia (SIBI),” JTIIK, vol. 10, no. 4, pp. 873–882, Aug. 2023, doi: 10.25126/jtiik.20241046823.
[19] M. Gandor and W. Książek, “GLCM and Genetic Algorithms for Automated Diabetic Retinopathy Prediction Based on Retinal Images,” presented at The Genetic and Evolutionary Computation Conference Companion (GECCO ’25 Companion), New York, USA: Association for Computing Machinery, 2025. doi: https://doi.org/10.1145/3712255.3726751.
[20] A. Z. Foeady, D. C. R. Novitasari, A. H. Asyhar, and M. Firmansjah, “Automated Diagnosis System of Diabetic Retinopathy using GLCM Method and SVM Classifier,” presented at the 2018 5th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), Malang, Indonesia: IEEE, 2018. doi: 10.1109/EECSI.2018.8752726.
[21] K. K. Mujeeb Rahman, M. Nasor, and A. Imran, “Automatic Screening of Diabetic Retinopathy using Fundus Images and Machine Learning Algorithms,” Diagnostics, vol. 12, no. 9, p. 2262, Sept. 2022, doi: 10.3390/diagnostics12092262.
[22] L. Li et al., “Enhancing Lung Cancer Detection through Hybrid Features and Machine Learning Hyperparameters Optimization Techniques,” Heliyon, vol. 10, no. 4, p. e26192, Feb. 2024, doi: 10.1016/j.heliyon.2024.e26192.
[23] S. A. Althubiti, S. Paul, R. Mohanty, S. N. Mohanty, F. Alenezi, and K. Polat, “Ensemble Learning Framework with GLCM Texture Extraction for Early Detection of Lung Cancer on CT Images,” Computational and Mathematical Methods in Medicine, vol. 2022, pp. 1–14, June 2022, doi: 10.1155/2022/2733965.
[24] M. Thohir, A. Z. Foeady, D. C. R. Novitasari, A. Z. Arifin, B. Y. Phiadelvira, and A. H. Asyhar, “Classification of Colposcopy Data using GLCM-SVM on Cervical Cancer,” in 2020 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Fukuoka, Japan: IEEE, Feb. 2020, pp. 373–378. doi: 10.1109/ICAIIC48513.2020.9065027.
[25] S. Zhang et al., “MM-GLCM-CNN: A Multi-Scale and Multi-Level Based GLCM-CNN for Polyp Classification,” Computerized Medical Imaging and Graphics, vol. 108, p. 102257, Sept. 2023, doi: 10.1016/j.compmedimag.2023.102257.
[26] B. E. Park, W. S. Jang, and S. K. Yoo, “Texture Analysis of Supraspinatus Ultrasound Image for Computer Aided Diagnostic System,” Healthc Inform Res, vol. 22, no. 4, p. 299, 2016, doi: 10.4258/hir.2016.22.4.299.
[27] S. Vijayalakshmi, B. K. Pandey, D. Pandey, and M. E. Lelisho, “Innovative Deep Learning Classifiers for Breast Cancer Detection through Hybrid Feature Extraction Techniques,” Sci Rep, vol. 15, no. 1, July 2025, doi: 10.1038/s41598-025-06669-4.
[28] Y. Hao et al., “Breast Cancer Histopathological Images Classification Based on Deep Semantic Features and Gray Level Co-Occurrence Matrix,” PLoS ONE, vol. 17, no. 5, p. e0267955, May 2022, doi: 10.1371/journal.pone.0267955.
[29] M. Z. Al Ghifari, W. Ferriastuti, T. Harsono, R. Sigit, and F. Hayati, “Brain Tumour Segmentation in MRI Data using Gray Level Co-Occurrence Matrix,” presented at the 2024 International Conference on Electrical and Information Technology (IEIT), Malang, Indonesia: IEEE, 2024. doi: 10.1109/IEIT64341.2024.10763342.
[30] A. Fauzi and L. Evan Lubis, “Optimization of Retinal Blood Vessel Segmentation Based on Gabor Filters and Particle Swarm Optimization,” IJEECS, vol. 29, no. 3, p. 1590, Mar. 2023, doi: 10.11591/ijeecs.v29.i3.pp1590-1596.
[31] G. Lin, J. Jiang, J. Bai, Y. Su, Z. Su, and H. Liu, “Frontiers and Developments of Data Augmentation for Image: From Unlearnable to Learnable,” Information Fusion, vol. 114, p. 102660, Feb. 2025, doi: 10.1016/j.inffus.2024.102660.
[32] P. Ramamoorthy, B. R. Ramakantha Reddy, S. S. Askar, and M. Abouhawwash, “Histopathology-Based Breast Cancer Prediction using Deep Learning Methods for Healthcare Applications,” Front. Oncol., vol. 14, p. 1300997, June 2024, doi: 10.3389/fonc.2024.1300997.
[33] R. M. Haralick, K. Shanmugam, and I. Dinstein, “Textural Features for Image Classification,” IEEE Trans. Syst., Man, Cybern., vol. SMC-3, no. 6, pp. 610–621, Nov. 1973, doi: 10.1109/TSMC.1973.4309314.
[34] O. P. Andra, “Optimasi Gray Level Co-Occurance Matrix (GLCM) Menggunakan Metode Ant Colony Optimization (ACO) pada Klasfikasi Pengenalan Daging Sapi dan Daging Babi,” UIN Sultan Syarif Kasim Riau, 2020.
[35] T. Chen, C. Yang, L. Han, and S. Guo, “GF-2 Data for Lithological Classification using Texture Features and PCA/ICA Methods in Jixi, Heilongjiang, China,” Remote Sensing, vol. 15, no. 19, p. 4676, Sept. 2023, doi: 10.3390/rs15194676.
[36] W. Chen, K. Yang, Z. Yu, Y. Shi, and C. L. P. Chen, “A Survey on Imbalanced Learning: Latest Research, Applications and Future Directions,” Artif Intell Rev, vol. 57, no. 6, p. 137, May 2024, doi: 10.1007/s10462-024-10759-6.
[37] S. H. Hasanah, “Classification Support Vector Machine In Breast Cancer Patients,” BAREKENG: J. Il. Mat. & Ter., vol. 16, no. 1, pp. 129–136, Mar. 2022, doi: 10.30598/barekengvol16iss1pp129-136.
[38] Asri Mulyani, Sarah Khoerunisa, and Dede Kurniadi, “Perbandingan Kinerja Algoritma KNN dan SVM Menggunakan SMOTE untuk Klasifikasi Penyakit Diabetes,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 14, no. 1, pp. 25–34, Feb. 2025, doi: 10.22146/jnteti.v14i1.15198.
[39] M. S. Tahosin, M. A. Sheakh, T. Islam, R. J. Lima, and M. Begum, “Optimizing Brain Tumor Classification through Feature Selection and Hyperparameter Tuning in Machine Learning Models,” Informatics in Medicine Unlocked, vol. 43, p. 101414, 2023, doi: 10.1016/j.imu.2023.101414.
[40] C. Kavitha, V. Mani, S. R. Srividhya, O. I. Khalaf, and C. A. Tavera Romero, “Early-Stage Alzheimer’s Disease Prediction using Machine Learning Models,” Front. Public Health, vol. 10, p. 853294, Mar. 2022, doi: 10.3389/fpubh.2022.853294.
[41] A. Hemmati-Sarapardeh, A. Larestani, M. Nait Amar, and S. Hajirezaie, “Chapter 3—Training and Optimization Algorithms.,” in Applications of Artificial Intelligence Techniques in the Petroleum Industry, Gulf Professional Publishing, 2020, pp. 51–78. [Online]. Available: https://doi.org/10.1016/C2018-0-04421-7
[42] L. Phan-Van, H. Takano, and T. Nguyen Duc, “A Comparison of Different Metaheuristic Optimization Algorithms on Hydrogen Storage-Based Microgrid Sizing,” Energy Reports, vol. 9, pp. 542–549, Oct. 2023, doi: 10.1016/j.egyr.2023.05.152.
[43] S. Akbari, H. Ramazi, and R. Ghezelbash, “A Novel Framework for Optimizing the Prediction of Areas Favorable to Porphyry-Cu Mineralization: Combination of Ant Colony and Grid Search Optimization Algorithms with Support Vector Machines,” Nat Resour Res, vol. 34, pp. 703–729, doi: 10.1007/s11053-024-10431-4.
[44] L. Ben Said et al., “Harnessing Meta-Heuristic, Bayesian, and Search-Based Techniques in Optimizing Machine Learning Models for Improved Energy Storage with Microencapsulated PCMs,” International Communications in Heat and Mass Transfer, vol. 162, p. 108537, Mar. 2025, doi: 10.1016/j.icheatmasstransfer.2024.108537.
[45] A. Gjecka and M. Fetaji, “A Comparative Study of Thyroid Data Classification Based on GA, BPSO, and ACO Metaheuristics Approaches,” presented at the International Conference on Mathematical and Statistical Physics, Computational Science, Education and Communication (ICMSCE 2023), 2023. doi: 10.1117/12.3011406.
[46] A. Saif Alghawli and A. I. Taloba, “An Enhanced Ant Colony Optimization Mechanism for the Classification of Depressive Disorders,” Computational Intelligence and Neuroscience, vol. 2022, pp. 1–12, June 2022, doi: 10.1155/2022/1332664.
[47] A. M. Adrian, A. Utamima, and K.-J. Wang, “A Comparative Study of GA, PSO and ACO for Solving Construction Site Layout Optimization,” KSCE Journal of Civil Engineering, vol. 19, no. 3, pp. 520–527, Mar. 2015, doi: 10.1007/s12205-013-1467-6.
[48] B. Gheflati and H. Rivaz, “Vision Transformer for Classification of Breast Ultrasound Images,” Feb. 12, 2025, arXiv: arXiv:2110.14731. doi: 10.48550/arXiv.2110.14731.
[49] W. K. Moon, Y.-W. Lee, H.-H. Ke, S. H. Lee, C.-S. Huang, and R.-F. Chang, “Computer‐Aided Diagnosis of Breast Ultrasound Images using Ensemble Learning from Convolutional Neural Networks,” Computer Methods and Programs in Biomedicine, vol. 190, p. 105361, July 2020, doi: 10.1016/j.cmpb.2020.105361.
[50] S. D. Deb and R. K. Jha, “Breast UltraSound Image Classification using Fuzzy-Rank-Based Ensemble Network,” Biomedical Signal Processing and Control, vol. 85, p. 104871, Aug. 2023, doi: 10.1016/j.bspc.2023.104871.
[51] D. M. Putri, M. Ikhsan, S. Nurjanah, B. W. Akramunnas, and A. Rahmawati, “A CNN-Based Approach for Breast Cancer Classification from Ultrasound Images,” vol. 12, no. 1.
[52] A. Yadav, F. Nisha, and B. Coskunuzer, “Breast Cancer Detection with Topological Machine Learning,” in Proceedings of the 2023 10th International Conference on Biomedical and Bioinformatics Engineering, Kyoto Japan: ACM, Nov. 2023, pp. 217–222. doi: 10.1145/3637732.3637744.
[53] Y.-J. Chang, Y.-L. Lin, and P.-F. Pai, “Support Vector Machines with Hyperparameter Optimization Frameworks for Classifying Mobile Phone Prices in Multi-Class,” Electronics, vol. 14, no. 11, p. 2173, May 2025, doi: 10.3390/electronics14112173.
[54] Y. Ali, E. Awwad, M. Al-Razgan, and A. Maarouf, “Hyperparameter Search for Machine Learning Algorithms for Optimizing the Computational Complexity,” Processes, vol. 11, no. 2, p. 349, Jan. 2023, doi: 10.3390/pr11020349.
Copyright (c) 2025 Ahmad Fauzi, Lukmanda Evan Lubis, Raju Wandira, Syarto Musthofa (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) 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) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).





