Journal of Applied Mathematics & Data Analytics

Journal of Applied Mathematics & Data Analytics

Comparative Evaluation of Vision Transformers and Classical Machine Learning Models for Brain Tumor MRI Classification

Document Type : Research Article

Authors
1 Department of Statistics‎, ‎Tarbiat Modares University‎, Tehran, ‎Iran
2 Department of Statistics, Imam Khomeini International University, Qazvin, Iran
Abstract
‎Brain tumors pose a significant challenge in medical diagnostics due to their diverse nature and high mortality‎. ‎In this study‎, ‎we explore the effectiveness of Vision Transformers (ViT) to classify brain tumors into four categories using MRI scans‎. ‎The performance of the Vision Transformer (ViT) was assessed against classical classifiers‎, ‎namely Decision Trees (DT)‎, ‎Support Vector Machines (SVM) and Random Forests (RF)‎, ‎with features extracted via CNNs (Convolutional Neural Network)‎. ‎Experimental results demonstrate that the ViT model achieves the highest classification accuracy‎, ‎outperforming conventional models and showing strong potential for clinical decision support‎.

‎For our experiments‎, ‎we used a publicly available MRI dataset from Kaggle‎, ‎designated the Brain Tumor Classification (MRI) dataset‎, ‎to perform brain tumor classification tasks‎. ‎The dataset comprises MRI scans organized into four distinct classes (glioma‎, ‎pituitary tumour‎, ‎meningioma and no-tumour) and provides sufficient sample size and class variability to support supervised deep-learning approaches for tumour‐type classification‎. ‎Its publicly accessible nature ensures reproducibility and comparability of our work with prior literature‎. ‎By leveraging this dataset‎, ‎we implement an end-to-end deep neural architecture with transferred weights (EfficientNet‐B0) and class-balanced loss to accurately discriminate among the four tumour-types‎. ‎The results demonstrate the viability of automated classification using this dataset and support its suitability for benchmarking brain-tumour recognition‎‎.
Keywords


Articles in Press, Accepted Manuscript
Available Online from 11 November 2026

  • Receive Date 28 October 2026
  • Revise Date 01 November 2026
  • Accept Date 11 November 2026
  • Publish Date 11 November 2026