Open Access
ARTICLE
Advancing Brain Tumor Classification: Evaluating the Efficacy of Machine Learning Models Using Magnetic Resonance Imaging
1 Department of Computer Science, City University of Science and Information Technology, Peshawar, 25000, Pakistan
2 Department of Computer Science, University of Engineering and Technology, Mardan, 23200, Pakistan
* Corresponding Author: Sarwar Shah Khan. Email:
Digital Engineering and Digital Twin 2025, 3, 1-16. https://doi.org/10.32604/dedt.2025.058943
Received 24 September 2024; Accepted 22 January 2025; Issue published 28 February 2025
Abstract
Brain tumors are one of the deadliest cancers, partly because they’re often difficult to detect early or with precision. Standard Magnetic Resonance Imaging (MRI) imaging, though essential, has limitations, it can miss subtle or early-stage tumors, which delays diagnosis and affects patient outcomes. This study aims to tackle these challenges by exploring how machine learning (ML) can improve the accuracy of brain tumor identification from MRI scans. Motivated by the potential for artificial intillegence (AI) to boost diagnostic accuracy where traditional methods fall short, we tested several ML models, with a focus on the K-Nearest Neighbors (KNN) algorithm. Our results showed that KNN achieved impressive accuracy, reaching 94.09%, and outperformed other models in key metrics like the F1-Score and Matthews Correlation Coefficient (MCC). These findings underline the value of selecting the right AI model and suggest that KNN may be particularly useful in pinpointing tumors in MRI scans. This research highlights how AI-driven methods, particularly those that can incorporate richer imaging data, may offer a promising path to more reliable and early detection of brain tumors.Keywords
Cite This Article

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.