A Fine-Funed CNN for Multiclass Classification Of Brain tumors On Figshare CE-MRI and its Raspberry Pi Deployment
Keywords:
Deep learning, Fine-Tuned CNN, Brain tumor, MRI, Raspberry Pi, Transfer learning.
Abstract
This paper introduces a fine-tuned Convolutional Neural Network (CNN) for multiclass classification of brain tumors on contrast-enhanced T1-weighted MRI scans. The proposed model integrates batch normalization, dropout, and lightweight convolutional blocks to extract discriminative features while maintaining computational efficiency suitable for embedded deployment. Experiments were conducted on the Figshare dataset comprising 3,064 MRI slices from 233 patients with gliomas, meningiomas, or pituitary tumors. Images were preprocessed through resizing, normalization. The model was trained using the Adam optimizer with a learning rate of 1e-4, a batch size of 32, and 100 epochs. Evaluation metrics included accuracy, precision, recall, and F1-score. The fine-tuned CNN achieved an overall accuracy of 94.08%, with class-specific performance indicating strong results for pituitary tumors (precision 95.65%, recall 95.96%) and meningiomas (precision 90.20%, recall 88.81%), while glioma classification showed high sensitivity (recall 96.85%) but lower precision (75.00%). To validate real-world applicability, the model was converted to TensorFlow Lite and deployed on a Raspberry Pi 4, achieving an inference time of approximately 60 ms per image. These findings demonstrate that fine-tuned CNNs can offer a competitive and resource-efficient solution for computer-aided diagnosis of brain tumors, balancing accuracy and practicality in clinical environments with limited computational resources.
Published
2025-09-27
How to Cite
Hmidi, A., Kouka, N., & Tekari, L. (2025). A Fine-Funed CNN for Multiclass Classification Of Brain tumors On Figshare CE-MRI and its Raspberry Pi Deployment. Statistics, Optimization & Information Computing. https://doi.org/10.19139/soic-2310-5070-2635
Issue
Section
Research Articles
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).