Skip to content

Projects / 2026

Brain Tumor Classification

MRI tumor classification with transfer learning and a custom CNN.

Brain Tumor Classification

Overview

Classifies brain MRI scans into four categories (glioma, meningioma, pituitary tumor or no tumor) using a transfer-learning Xception model and a custom CNN trained from scratch, on a Kaggle dataset of about 7,000 images.

The Xception model reaches 97.56% test accuracy and is the default in the app; the lighter custom CNN reaches 91.16% and is kept as a from-scratch baseline. A Streamlit app lets you upload an MRI and get a prediction, a saliency map showing where the model looked, and a plain-language explanation generated with the Gemini API.