Bridging Engineering and Neuro-Oncology: A Scalable FastAPI-Deployed CNN Framework for Real-Time Explainable Brain Tumor Diagnosis
| dc.contributor.author | Nematzadeh, Sajjad | |
| dc.contributor.author | Anka, Ferzat | |
| dc.contributor.author | Çiftçi, Fatih | |
| dc.contributor.author | Ayanoğlu, Kadriye Yasemin Usta | |
| dc.contributor.author | Özarslan, Ali Can | |
| dc.contributor.author | Öncü, Emir | |
| dc.date.accessioned | 2026-03-31T12:33:08Z | |
| dc.date.issued | 2026 | |
| dc.department | FSM Vakıf Üniversitesi, Rektörlük, Yapay Zekâ ve Veri Bilimi Uygulama ve Araştırma Merkezi | |
| dc.description.abstract | Background: Automated and interpretable classification of brain tumors from MRI scans remains a critical challenge in medical imaging and neuro-oncology. This study addresses the need for reliable and deployable AI-driven tools that support timely tumor differentiation while maintaining transparency and practical usability. Methods: A deep learning–based diagnostic framework was developed using convolutional neural networks implemented in TensorFlow. The system was trained and evaluated on a curated dataset of 3,097 axial brain MRI images spanning four classes: glioma, meningioma, pituitary tumor, and normal cases. To ensure robust performance estimation, all models were evaluated using stratified 5-fold cross-validation and benchmarked against multiple state-of-the-art transfer learning architectures. For real-world applicability, the selected models were deployed via a FastAPI-based server, and Gradient-weighted Class Activation Mapping (Grad-CAM) was incorporated to provide qualitative visual explanations. Results: Across cross-validation folds, the proposed framework demonstrated stable and competitive performance in terms of accuracy, macro-averaged F1-score, and macro-averaged AUC, with low inter-fold variance. Comparative evaluation showed that transfer learning models achieved strong classification performance, while the lightweight custom CNN remained suitable for real-time deployment. The FastAPI implementation enabled low-latency inference and ondemand Grad-CAM visualizations, supporting transparent and responsive model usage. Conclusion: This work demonstrates the feasibility of bridging deep learning– based brain tumor classification with scalable, real-time deployment. By combining robust cross-validation, state-of-the-art benchmarking, and explainability- aware inference, the proposed framework provides a practical pathway toward integrating artificial intelligence into radiological workflows, while highlighting the importance of interpretability and deployment constraints in neuro-oncological applications. | |
| dc.identifier.citation | NEMATZADEH, Sajjad, Ferzat ANKA, Fatih ÇİFTÇİ, Kadriye Yasemin Usta AYANOĞLU, Ali Can ÖZARSLAN & Emir ÖNCÜ. "Bridging Engineering and Neuro-Oncology: A Scalable FastAPI-Deployed CNN Framework for Real-Time Explainable Brain Tumor Diagnosis". Frontiers in Neuroscience, 20 (2026): 1-12. | |
| dc.identifier.doi | 10.3389/fnins.2026.1772429 | |
| dc.identifier.endpage | 12 | |
| dc.identifier.startpage | 1 | |
| dc.identifier.uri | https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2026.1772429/full | |
| dc.identifier.uri | https://hdl.handle.net/11352/6066 | |
| dc.identifier.volume | 20 | |
| dc.identifier.wos | WOS:001722291600001 | |
| dc.identifier.wosquality | Q2 | |
| dc.indekslendigikaynak | Web of Science | |
| dc.language.iso | en | |
| dc.publisher | Frontiers in Neuroscience | |
| dc.relation.ispartof | Frontiers Media | |
| dc.relation.publicationcategory | Makale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı | |
| dc.rights | info:eu-repo/semantics/openAccess | |
| dc.subject | Brain Tumor | |
| dc.subject | Convolutional Neural Network | |
| dc.subject | Grad-CAM | |
| dc.subject | Machine Learning | |
| dc.subject | MRI Classification | |
| dc.title | Bridging Engineering and Neuro-Oncology: A Scalable FastAPI-Deployed CNN Framework for Real-Time Explainable Brain Tumor Diagnosis | |
| dc.type | Article |










