Research demonstrator · Medical AI
Explainable brain tumor classification on MRI
A model that classifies six types of brain tumors (astrocytoma, ependymoma, glioma, meningioma, oligodendroglioma, schwannoma) on MRI scans and shows, with a heat map, which region drove its decision, so its reasoning can be checked against a radiologist's.
Hugging Face Space · Gradio

Tumor types
6
MRI scans
11,300
Attention on the lesion
69%
What I built
- Transfer learning on EfficientNet-B0 (PyTorch): partly frozen backbone, dropout, label smoothing, class-weighted loss against imbalance, data augmentation and early stopping.
- Rigorous evaluation on 11,300 MRI scans (T1, T1C+, T2) from about 272 patients, split by patient with StratifiedGroupKFold: no patient is shared between training, validation and test, which rules out data leakage.
- Explainability with Grad-CAM, compared with radiologists' annotations: the attention peak falls within 60 px of the lesion in 69% of cases, against about 7% expected by chance.
Delivered
- Trained classifier
- Patient-level evaluation protocol
- Grad-CAM explanations
- Gradio demo