Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

MRI Alzheimers Classification using Deep Learning

Deep learning model for classifying brain MRI scans into dementia severity categories using a modified ResNet-18 convolutional neural network.

Dataset

The dataset contains labeled MRI scans categorized into four classes:

Class Description

  |     Non Demented     |     Very Mild Demented   |     Mild Demented     |     Moderate Demented 

000cdcc4-3e54-4034-a538-203c8047b564 0a2db21e-81d3-461c-a23e-c133096d8f0a 00a9c4ad-c06d-431d-a5c9-1dc324db0632 00ca16fb-ec46-436e-b108-8ea52a52839a
Dataset split:

Split Images
Training 23,788
Validation 5,097
Test 5,097

Images are organized into folders and loaded using torchvision.datasets.ImageFolder.

Model Architecture

The project uses a modified ResNet-18 architecture for its residual blocks, solving the vanishing gradient problem.

Modifications:

  • MRI scans are grayscale, so the first convolution layer was modified
  • Per-Image Z-Score Normalization
  • Removes brightness variation between scans.

x_norm = (x - μ) / σ

Activation: ReLU

Loss Function: Weighted Cross Entropy Loss is used to address class imbalance.

L = - Σ wi * yi * log(ŷi)

Optimizer: AdamW

Tools

  • Python
  • PyTorch
  • Torchvision
  • CUDA
  • Optuna(Baysian)
  • NumPy

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages