Skip to content

Detect brain tumor in X-ray images using deep neural networks

Notifications You must be signed in to change notification settings

treblenalto/brain-tumor-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Brain Tumor Classification

Overview

Binary classification of brain X-ray images of patient diagnosed with brain tumor using deep neural networks.
Our results with MLP and Deep CNN models show that Deep CNN architectures are not always the solution to image classification.

Data

This project was carried out with data from Kaggle's Brain Tumor Dataset with train-test ratio of 8:2.

Brain Tumor

  • X-ray images of brains with tumor
    tumor

Healthy

  • X-ray images of brains without tumor
    healthy

Model

All of the models were trained and tested via Pytorch framework
No pretrained model was used for this project

Results

Model Accuracy F1-Score
MLP 99.35% 0.99
LeNet 97.72% 0.98
AlexNet 94.02% 0.94
ResNet16 83.28% 0.83

Structure

Brain Tumor Classification
├── README.md
├── code
│   ├───AlexNet.ipynb
│   ├───LeNet.ipynb
│   ├───MLP.ipynb
│   └───ResNet.ipynb
│