Brain Tumor Classification from MRI Images Using GAN-Based Data Augmentation, K-Means Feature Extraction and Selected Machine Learning Classifiers
DOI:
https://doi.org/10.33003/fjs-2026-1023-6465Keywords:
Brain tumor classification, Magnetic resonance imaging, Generative adversarial network, K-means clustering, Machine Learning Algorithm, Data augmentationAbstract
Accurate classification of brain tumors from MRI is important and paramount to treatment planning, but it's a very time-consuming process to do manually and is inherently subject to inter-observer variation. This study developed and evaluated an automated framework for brain tumor classification which uses a GAN based data augmentation technique, K-means clustering for feature extraction and four different machine learning classifiers (SVM, ANN, C4.5 Decision Tree and Naive Bayes). The public dataset of 12,064 T1 weighted contrast enhanced MRI images, containing the glioma, meningioma, pituitary tumor and no tumor subtypes was acquired, the images were enhanced via histogram equalization and intensity normalization, split into an 80% training and 20% test set and balanced using GAN generated images. During the performance evaluation, the SVM performed the best with an accuracy of 96.4%, sensitivity of 96.1%, specificity of 98.7%, precision of 96.5% and an F1 score of 96.3%. The ANN came next at 93.5%, followed by the C4.5 at 89.1% and the Naive Bayes at 86.2%. The SVM accuracy is higher than that of a similar conventional machine learning study (95.3%) and is comparable to SVM using hand crafted texture features (96.0%) despite the fact that deep learning methods have been reported to achieve higher accuracy at a vastly greater computational cost. The results show that the combination of GAN based data augmentation, K-means feature extraction and SVM provides an accurate and computationally efficient method for brain tumor classification which can be used to assist the clinical decision making of the radiologist
References
Abdusalomov, A. B., Mukhiddinov, M., Whangbo, T. K. (2023). Brain tumor detection based on deep learning approaches and magnetic resonance imaging. Cancers, 15(16): 4172. https://doi.org/10.3390/cancers15164172
Amin, J., Sharif, M., Haldorai, A., Yasmin, M., & Nayak, R. S. (2022). Brain tumor detection and classification using machine learning: A comprehensive survey. Complex & Intelligent Systems, 8(4), 3161–3183. https://doi.org/10.1007/s40747-021-00563-y
Asiri, A. A., Khan, B., Muhammad, F., Rahman, S. U., Alshamrani, H. A., Alshamrani, K. A., Irfan, M., & Alqhtani, F. F. (2023). Machine learning-based models for magnetic resonance imaging (MRI)-based brain tumor classification. Intelligent Automation & Soft Computing, 36(1), 299–312. https://doi.org/10.32604/iasc.2023.032426
Basthikodi, M., Chaithrashree, M., Ahamed Shafeeq, B. M., & Gurpur, A. P. (2024). Enhancing multiclass brain tumor diagnosis using SVM and innovative feature extraction techniques. Scientific Reports, 14, 26023. https://doi.org/10.1038/s41598-024-77243-7
Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297. https://doi.org/10.1007/BF00994018
Frid-Adar, M., Diamant, I., Klang, E., Amitai, M., Goldberger, J., & Greenspan, H. (2018). GAN-based synthetic medical image augmentation for increased CNN performance in liver lesion classification. Neurocomputing, 321, 321–331. https://doi.org/10.1016/j.neucom.2018.09.013
Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., & Bengio, Y. (2014). Generative adversarial nets. In Z. Ghahramani, M. Welling, C. Cortes, N. Lawrence, & K. Q. Weinberger (Eds.), Advances in neural information processing systems 27 (pp. 2672–2680). Curran Associates.
Hira, M. I. K., Hossain, M. S., Bithee, M. M. A., Sara, U. S., Hasan, M. M., Towsif, A. A., & Ahmed, M. K. (2025). Brain tumor MRI dataset (glioma, meningioma, pituitary, no tumor) (Version 5) [Data set]. Mendeley Data. https://doi.org/10.17632/zwr4ntf94j.5
Kumar, K., Jyoti, K., & Kumar, K. (2024). Machine learning for brain tumor classification: Evaluating feature extraction and algorithm efficiency. Discover Artificial Intelligence, 4, 112. https://doi.org/10.1007/s44163-024-00214-4
Lakshmi, K., Amaran, S., Subbulakshmi, G., Padmini, S., Joshi, G. P., & Cho, W. (2025). Explainable artificial intelligence with UNet based segmentation and Bayesian machine learning for classification of brain tumors using MRI images. Scientific Reports, 15, 690. https://doi.org/10.1038/s41598-024-84692-7
Litjens, G., Kooi, T., Bejnordi, B. E., Setio, A. A. A., Ciompi, F., Ghafoorian, M., van der Laak, J. A. W. M., van Ginneken, B., & Sánchez, C. I. (2017). A survey on deep learning in medical image analysis. Medical Image Analysis, 42, 60–88. https://doi.org/10.1016/j.media.2017.07.005
Louis, D. N., Perry, A., Wesseling, P., Brat, D. J., Cree, I. A., Figarella-Branger, D., Hawkins, C., Ng, H. K., Pfister, S. M., Reifenberger, G., Soffietti, R., von Deimling, A., & Ellison, D. W. (2021). The 2021 WHO classification of tumors of the central nervous system: A summary. Neuro-Oncology, 23(8), 1231–1251. https://doi.org/10.1093/neuonc/noab106
Nag, A., Mondal, H., Hassan, M. M., Al-Shehari, T., Kadrie, M., Al-Razgan, M., Alfakih, T., Biswas, S., & Bairagi, A. K. (2024). TumorGANet: A transfer learning and generative adversarial network-based data augmentation model for brain tumor classification. IEEE Access, 12, 103060–103081. https://doi.org/10.1109/ACCESS.2024.3429633
Pichaivel, M., Anbumani, G., Theivendren, P., & Gopal, M. (2022). An overview of brain tumor. IntechOpen.
Quinlan, J. R. (1993). C4.5: Programs for machine learning. Morgan Kaufmann.
Sahoo, S., Mishra, S., Panda, B., Bhoi, A. K., & Barsocchi, P. (2023). An augmented modulated deep learning based intelligent predictive model for brain tumor detection using GAN ensemble. Sensors, 23(15), 6930. https://doi.org/10.3390/s23156930
Shin, H.-C., Tenenholtz, N. A., Rogers, J. K., Schwarz, C. G., Senjem, M. L., Gunter, J. L., Andriole, K. P., & Michalski, M. (2018). Medical image synthesis for data augmentation and anonymization using generative adversarial networks. In A. Gooya, O. Goksel, I. Oguz, & N. Burgos (Eds.), Simulation and synthesis in medical imaging (pp. 1–11). Springer. https://doi.org/10.1007/978-3-030-00536-8_1
Sinthia, P., Jaya Karunya Jothika, R., & Fathimuthu Ashifa, S. (2024, January). Early detection of glioma, meningioma, and pituitary tumors of the brain using deep learning. In International Conference on Universal Threats in Expert Applications and Solutions (pp. 49-62). Singapore: Springer Nature Singapo
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2026 Abdulrasaq Toyeeb, Tosho Abdulrauf, Saka Kayode Kamil, Aderinoye Lateef Olalekan

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