Background/Objectives: The human brain is responsible for controlling various physiological functions, and hence, the presence of tumors in the brain is a major concern in the medical field. The correct identification and categorization of tumors in the brain using Magnetic Resonance Imaging (MRI) is a major requirement for the diagnosis and treatment of a tumor. The proposed research will focus on designing a CNN model that is optimized for tumor image classification. Methods: This research proposes an optimized CNN model featuring strategically placed dropout layers and hyperparameter optimization. This study uses a dataset of 640 MRI scans (320 tumor and 320 non-tumor) collected from a private hospital in Saudi Arabia. The proposed method utilizes a learning rate of 0.001 in combination with the Adam optimizer to ensure stable and efficient convergence. Its performance was benchmarked against established architectures, including VGG-19, Inception V3, ResNet-10, and ResNet-50, with evaluation based on classification accuracy and computational cost. Results: The experimental results show that the optimized CNN proposed in this work performs much better than the deeper architectures. The network reached a maximum training accuracy of 97.77% and a final test accuracy of 95.35% with a small test loss of 0.2223. The test accuracy of the optimized VGG-19 and Inception V3 networks was much lower, with a training time per epoch that was several orders of magnitude higher. The validation stability of the proposed network was high (92.25% to 95.35%) during the final stages of training. Conclusions: The conclusion drawn from this study is that hyperparameter optimization and strategic regularization are more advantageous for tumor classification using MRI images than the mere depth of the model. The accuracy of 95.35% with low computational complexity makes this lightweight CNN model a feasible solution for real-time applications.
Hussain et al. (Sat,) studied this question.