Brain Tumor Detection from MRI Images Using an Ensemble-Based Machine Learning Framework

  • Arpit Bhatt Department of Computer Engineering, Chandubhai S. Patel Institute of Science and Technology, Charotar University of Science and Technology (CHARUSAT), Changa, Gujarat, India https://orcid.org/0000-0001-5157-3771
  • Chirag Patel Department of Computer Engineering, Devang Patel Institute of Advance Technology and Research, Charotar University of Science and Technology (CHARUSAT), Changa, Gujarat, India https://orcid.org/0000-0001-8280-1140
  • Nikita Bhatt Department of Computer Engineering, Chandubhai S. Patel Institute of Science and Technology, Charotar University of Science and Technology (CHARUSAT), Changa, Gujarat, India https://orcid.org/0000-0002-3243-5901
Keywords: Braint Tumor Detection, MRI, Ensemble Learning, Machine Learning, Medical Informatics

Abstract

The early detection of brain tumors from MRI images is critical for effective treatment planning. Still, manual analysis of these images is time-consuming and prone to inter-observer variability. This paper suggests a machine learning framework for automated brain tumor detection that uses an ensemble of classifiers to make it more accurate and reliable. The suggested framework combines Support Vector Machine (SVM), Random Forest (RF), and k-Nearest Neighbor (k-NN) classifiers. It uses a majority voting method at the decision level to make final predictions. The model uses both handcrafted texture features from the Gray-Level Co-occurrence Matrix (GLCM) and deep features from a pre-trained ResNet50 model to make it more effective at distinguishing between things. The framework was tested using three publicly available MRI datasets: Figshare, SARTAJ, and BR35H. These datasets had a total of 9,826 images. The ensemble model got 95.2% correct, with 94.6%, 94.1%, and 94.3% for precision, recall, and F1-score, respectively. This was better than any of the individual classifiers. The area under the curve (AUC) was also 0.97, which means it was very good at telling the difference between things. The experimental results demonstrate that the ensemble approach not only delivers a robust solution but also ensures computational efficiency, rendering it appropriate for clinical applications. This framework shows that it could be used in computer-aided diagnosis systems to detect brain tumors in real time and perform better across different datasets. The suggested ensemble-based framework is a scalable, efficient, and reliable way to use MRI to find brain tumors. It gets around the problems that single classifiers have in medical imaging.

Downloads

Download data is not yet available.

References

T. A. Fahim, F. B. Alam, and M. A. Hossain, “Brain tumor detection, classification and segmentation by deep learning models from MRI images: Recent approaches, challenges and future directions,” Array, p. 100571, Nov. 2025, DOI: https://doi.org/10.1016/j.array.2025.100571.

M. Nahiduzzaman et al., “A hybrid explainable model based on advanced machine learning and deep learning models for classifying brain tumors using MRI images,” Scientific Reports, vol. 15, no. 1, p. 1649, Jan. 2025, DOI: https://doi.org/10.1038/s41598-025-01649-x.

K. Lamba, S. Rani, and M. Shabaz, “Synergizing advanced algorithm of explainable artificial intelligence with hybrid model for enhanced brain tumor detection in healthcare,” Scientific Reports, vol. 15, no. 1, p. 20489, Jul. 2025, DOI: https://doi.org/10.1038/s41598-025-20489-0.

A. Gholami, “Brain tumor detection and classification using a hybrid convolutional neural network learning method with support vector machine (CNN–SVM) based on fuzzy weighting and transit search optimization algorithm,” International Journal of Computational Intelligence Systems, vol. 18, no. 1, pp. 1–25, Dec. 2025, DOI: https://doi.org/10.1007/s44196-025-00635-7.

N. H. Lu, Y. H. Huang, K. Y. Liu, and T. B. Chen, “Deep learning-driven brain tumor classification and segmentation using non-contrast MRI,” Scientific Reports, vol. 15, no. 1, p. 27831, Jul. 2025, DOI: https://doi.org/10.1038/s41598-025-27831-7.

R. Singh et al., “Advanced dynamic ensemble framework with explainability-driven insights for precision brain tumor classification across datasets,” Scientific Reports, vol. 15, no. 1, p. 29090, Aug. 2025, DOI: https://doi.org/10.1038/s41598-025-29090-x.

Z. Zhou et al., “Comprehensive exploiting local and global features for brain tumor segmentation: A gated dual-branch hybrid attention mechanism,” Biomedical Signal Processing and Control, vol. 110, p. 108285, Dec. 2025, DOI: https://doi.org/10.1016/j.bspc.2025.108285.

C. Narmatha et al., “A hybrid fuzzy brainstorm optimization algorithm for the classification of brain tumor MRI images,” Journal of Ambient Intelligence and Humanized Computing, Aug. 2020, DOI: https://doi.org/10.1007/s12652-020-02189-7.

Y. Zhang et al., “Imaging segmentation of brain tumors based on the modified U-Net method,” Information Technology and Control, vol. 53, no. 4, pp. 1074–1087, Dec. 2024, DOI: https://doi.org/10.5755/j01.itc.53.4.35649.

M. M. Hossain et al., “Brain MRI image classification for tumor detection using integrated hybrid convolutional k-nearest neighbor model,” Journal of Soft Computing and Data Mining, vol. 5, no. 2, pp. 83–95, Dec. 2024, DOI: https://doi.org/10.30880/jscdm.2024.05.02.008.

M. Kondova et al., “Deep learning-based detection and classification of intracranial tumors on magnetic resonance imaging,” Imaging, vol. 16, no. 2, pp. 73–80, Dec. 2024.

M. Vijayakumar, “Breakthrough in brain tumor diagnosis: A cutting-edge hybrid depthwise-direct acyclic graph network for MRI image classification,” Journal of Applied Engineering and Technological Science, vol. 6, no. 1, pp. 730–740, 2024.

S. Shrinivasa, S. Narasimhamurthy, and V. Sontakke, “Automated diagnosis of brain tumor classification and segmentation of magnetic resonance imaging images,” IAES International Journal of Artificial Intelligence, vol. 13, no. 4, p. 4833, 2024, DOI: https://doi.org/10.11591/ijai.v13.i4.pp4833-4844.

M. J. Adamu et al., “Efficient and accurate brain tumor classification using hybrid MobileNetV2–support vector machine for magnetic resonance imaging diagnostics in neoplasms,” Brain Sciences, vol. 14, no. 12, p. 1178, Nov. 2024, DOI: https://doi.org/10.3390/brainsci14121178.

M. Z. Khaliki and M. S. Başarslan, “Brain tumor detection from images and comparison with transfer learning methods and 3-layer CNN,” Scientific Reports, vol. 14, no. 1, p. 2664, Feb. 2024, DOI: https://doi.org/10.1038/s41598-024-52664-4.

A. M. Z. Rahman et al., “Advanced AI-driven approach for enhanced brain tumor detection from MRI images utilizing EfficientNetB2 with equalization and homomorphic filtering,” BMC Medical Informatics and Decision Making, vol. 24, no. 1, p. 113, Apr. 2024, DOI: https://doi.org/10.1186/s12911-024-02578-1.

S. Sivakumar et al., “Gaussian filter and CNN-based framework for accurate detection of brain tumor by analyzing MRI images,” Bulletin of Electrical Engineering and Informatics, vol. 13, no. 6, pp. 4214–4222, Dec. 2024, DOI: https://doi.org/10.11591/EEI.V13I6.6778

M. A. Kumar et al., “Fuzzy guided ensemble inference system for brain tumor classification,” Brain Research, 2025 https://doi.org/10.1016/j.brainres.2025.150030.

P. Sundararajan et al., “An ensemble learning framework for brain tumour classification with explainable artificial intelligence for medical diagnosis,” Network Modeling Analysis in Health Informatics and Bioinformatics, 2025. 9, https://doi.org/10.1007/s13721-025-00635-w.

Gandhi, V., Chaudhari, Y., Kumar, A. et al. Benchmarking Machine Learning Models for Obesity Classification with SHAP-Based Interpretability. Int J Comput Intell Syst (2025), DOI: https://doi.org/10.1007/s44196-025-00712-x.

R. N. Asif et al., “Brain tumor detection empowered with ensemble deep learning approaches from MRI scan images,” Scientific Reports, 2025, https://doi.org/10.1038/s41598-025-99576-7.

Gandhi, V. C., Gandhi, P., Ogundiran, J. O., Tshibola, M. S. S., & Kapuya Bulaba Nyembwe, J.-P. (2025). Computational Modeling and Optimization of Deep Learning for Multi-Modal Glaucoma Diagnosis. AppliedMath, 5(3), 82. https://doi.org/10.3390/appliedmath5030082

H. Kumar et al., “A hybrid EfficientNetB0–XGBoost framework for efficient brain tumor classification using MRI images,” in Interdisciplinary Approaches to AI, Internet of Everything, and Machine Learning. Hershey, PA, USA: IGI Global, 2025, DOI: 10.4018/979-8-3373-1032-9.ch033.

S. G. De Benedictis et al., “Enhanced MRI brain tumor detection and classification via topological data analysis and low-rank tensor decomposition,” Journal of Computational Mathematics and Data Science, 2024, DOI:10.1016/j.jcmds.2024.100103.

B. V. et al., “Efficient brain tumor grade classification using ensemble deep learning models,” BMC Medical Imaging, 2024, https://doi.org/10.1186/s12880-024-01476-1.

H. He et al., “Ensemble learning-based pretreatment MRI radiomic model for distinguishing intracranial extra ventricular ependymoma from glioblastoma multiforme,” NMR in Biomedicine, 2024, https://doi.org/10.1002/nbm.5242.

P. S. Smitha et al., “Classification of brain tumor using deep learning at early stage,” Measurement: Sensors, 2024, https://doi.org/10.1016/j.measen.2024.101295.

V. Anitha, “Brain tumor detection in combined 3D MRI and CT images using dictionary learning-based segmentation and Spearman regression,” Sādhanā, 2024, DOI:10.1007/s12046-024-02562-4.

B. Machura et al., “Deep learning ensembles for detecting brain metastases in longitudinal multimodal MRI studies,” Computerized Medical Imaging and Graphics, 2024, https://doi.org/10.1016/j.compmedimag.2024.102401.

Z. F. Mohammed and D. J. Mussa, “Brain tumour classification using BoF-SURF with filter-based feature selection,” Multimedia Tools and Applications, 2024, https://doi.org/10.1007/s11042-024-18171-6.

Y. Yuhandri et al., “Improving brain tumor classification efficacy through feature selection and ensemble classifiers,” Journal of Imaging and Graphics, 2023, Doi: 10.18178/joig.11.4.397-404.

J. G. Melekoodappattu et al., “Brain cancer classification based on multistage ensemble GAN and CNN,” Cell Biochemistry and Function, 2023, https://doi.org/10.1002/cbf.3870.

M. Sandeep and A. Deepak, “Brain tumor detection using random forest and k-nearest neighbors,” in AIP Conference Proceedings, 2023, DOI:10.1063/5.0158397.

F. A. Özbay and E. Özbay, “Brain tumor detection with mRMR-based multimodal fusion using Grad-CAM,” Iran Journal of Computer Science, 2023, DOI:10.1007/s42044-023-00137-w.

A. A. Asiri et al., “Fine-tuned vision transformer for accurate brain tumor detection in MRI scans,” Diagnostics, 2023,

https://doi.org/10.3390/diagnostics13122094.

M. N. Islam et al., “Improved deep learning-based hybrid ensemble model for brain tumor detection,” Informatics in Medicine Unlocked, 2024, DOI: https://doi.org/10.1016/j.imu.2024.101470.

Gandhi, V. C., Gandhi, P. P., Raheem, A. K. A., Alzubaidi, Y. T., Khudaybergenov, K., & Khishe, M. (2026). Advancing Glaucoma Diagnosis: Multi-Modal Deep Learning with Vision Transformer Architectures. Intelligence-Based Medicine, 100355, DOI: https://doi.org/10.1016/j.ibmed.2026.100355.

J. Kang et al., “MRI-based brain tumor classification using ensemble of deep features and machine learning classifiers,” Sensors, vol. 21, no. 5, 2021, DOI: https://doi.org/10.3390/s21051675.

E. Ghafourian et al., “An ensemble model for the diagnosis of brain tumors through MRIs,” Diagnostics, 2023, DOI: https://doi.org/10.3390/diagnostics13111852.

R. Sharif et al., “Comparative analysis of ensemble learning techniques for brain tumor classification,” Informatica, 2024, https://doi.org/10.31449/inf.v48i20.6714.

C. J. Tseng and C. Tang, “Optimized XGBoost for accurate brain tumor detection using feature selection and segmentation,” Healthcare Analytics, 2023, DOI: https://doi.org/10.1016/j.health.2023.100216.

J. Amin et al., “Brain tumor detection using statistical and machine learning methods,” Computer Methods and Programs in Biomedicine, vol. 177, pp. 69–79, 2019, DOI: https://doi.org/10.1016/j.cmpb.2019.05.016.

A. K. Sharma et al., “An ensemble deep learning framework for robust brain tumor detection using multi-sequence MRI,” Biomedical Signal Processing and Control, early access, 2025, DOI:10.1155/2024/6615468.

A. Pauranik, N. R, U. V. Ramesh, R. Riad Al-Fatlawy, J. Kaur and V. C. Gandhi, "Detection of Gastric Cancer in Endoscopic Images Using Deep Convolutional Neural Networks," 2024 IEEE International Conference on Communication, Computing and Signal Processing (IICCCS), ASANSOL, India, 2024, pp. 1-5, doi: 10.1109/IICCCS61609.2024.10763738

Vaibhav C. Gandhi, Priyesh P. Gandhi, Ankit D. Oza, Ahmed Kateb Jumaah Al-Nussairi, Ahmed Adnan Hadi, Ahmed A. Alamiery, Amanuel Zewdie,Identifying glaucoma with deep learning by utilizing the VGG16 model for retinal image analysis,Intelligence-Based Medicine,Volume 12,2025,100307,ISSN 2666-5212, https://doi.org/10.1016/j.ibmed.2025.100307

Remzan, N., Tahiry, K. & Farchi, A. Advancing brain tumor classification accuracy through deep learning: harnessing radimagenet pre-trained convolutional neural networks, ensemble learning, and machine learning classifiers on MRI brain images. Multimed Tools Appl 83, 82719–82747 (2024). https://doi.org/10.1007/s11042-024-18780-1.

Saurav, S., Sharma, A., Saini, R. et al. An attention-guided convolutional neural network for automated classification of brain tumor from MRI. Neural Comput & Applic 35, 2541–2560 (2023). https://doi.org/10.1007/s00521-022-07742-z.

Hosny, K.M., Mohammed, M.A., Salama, R.A. et al. Explainable ensemble deep learning-based model for brain tumor detection and classification. Neural Comput & Applic 37, 1289–1306 (2025). https://doi.org/10.1007/s00521-024-10401-0.

Ali, Usman & Sajid, & Saleem, Rehman & Imran, Nabeel & Bahaj, Saeed & Sherazi, Tariq & Ayesha, Noor. (2026). A lightweight deep learning framework for real time brain tumor detection and characterization using MR images. Discover Artificial Intelligence. 10.1007/s44163-026-01046-0.

J. Cheng, W. Huang, S. Cao, R. Yang, W. Yang, and Y. Yun, “Enhanced performance of brain tumor classification via tumor region augmentation and partition,” Figshare Dataset, 2017. [Online]. Available: https://doi.org/10.6084/m9.figshare.1512427.v5

S. Sartaj, “Brain tumor MRI dataset,” Kaggle, 2019. [Online]. Available: https://www.kaggle.com/datasets/sartajbhuvaji/brain-tumor-classification-mri

A. Chowdhury, “Brain MRI images for brain tumor detection (BR35H),” Kaggle, 2020. [Online]. Available: https://www.kaggle.com/datasets/ahmedhamada0/brain-tumor-detection

A. Chauhan and S. Vegad, “CVAE-ADS: A Deep Learning Framework for Traffic Accident Detection and Video Summarization ”, j.electron.electromedical.eng.med.inform, vol. 8, no. 1, pp. 185-205, Jan. 2026, DOI: https://doi.org/10.35882/jeeemi.v8i1.1139

Published
2026-04-22
How to Cite
[1]
A. Bhatt, C. Patel, and N. Bhatt, “Brain Tumor Detection from MRI Images Using an Ensemble-Based Machine Learning Framework”, j.electron.electromedical.eng.med.inform, vol. 8, no. 2, pp. 712-729, Apr. 2026.
Section
Medical Engineering