This study aims to classify brain MRI images into several types of brain tumors using the Convolutional Neural Network (CNN) approach with transfer learning. This method has the advantage of processing complex images in a shorter time than conventional CNN approaches. In this study, the data used was a public database from Kaggle, which consisted of four categories: glioma, meningioma, no tumor, and pituitary. Before entering the transfer learning process, data augmentation is carried out on the training data. Four pre-trained CNN models were used: VGG19, ResNet50, InceptionV3, and DenseNet121. The four models compared their ability to classify MRI images with several evaluation metrics: accuracy, precision, recall, and F1 score. The results of the performance comparison of the four pre-trained models show that the ResNet50 is the best model, with an accuracy of 98%. Meanwhile, VGG19, DenseNet121, and InceptionV3 produce 97%, 96%, and 95% accuracy, respectively. The ResNet50 architecture demonstrated superior performance in brain tumor classification, achieving 98% accuracy. It can be attributed to its residual learning structure, which efficiently manages complex MRI features. Further research should concentrate on larger, more diverse datasets and advanced preprocessing techniques to enhance model generalizability.
Copyrights © 2025