Skip to content

Himanshu49Gaur/NeuroInsight-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

216 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeuroInsight Classifier

1. Introduction

  • Alzheimer’s Disease (AD) is a progressive neurodegenerative disorder and a leading cause of dementia globally, gradually affecting memory, cognitive thinking, and behavioral abilities.
  • Early diagnosis is crucial in slowing the progression of cognitive deterioration and supporting timely patient treatment planning.
  • Traditional radiology-based diagnosis relies heavily on expert radiologists manually analyzing MRI scans, which can be time-consuming, subjective, and error-prone.
  • This project presents an AI-powered deep learning approach using MRI brain scan classification to automate Alzheimer diagnosis, enabling faster and more accurate support for medical professionals.

2. Problem Statement

  • Manual MRI analysis struggles with consistency and scalability due to the increasing number of dementia patients.
  • Misinterpretation or delayed diagnosis leads to late treatment initiation, reducing patient recovery quality.
  • Medical centers face radiologist shortages and require automated systems for evaluation.
  • Therefore, there is a need for a reliable, automated classification system capable of detecting Alzheimer’s disease progression accurately and efficiently.

3. Objectives

  • To build a high-performance Alzheimer classification model using deep learning.
  • To classify MRI images into multiple severity categories of dementia.
  • To automate and improve diagnostic reliability compared to manual visual assessment.
  • To deliver a reproducible research-ready workflow for clinical and academic use.
  • To measure performance using scientific evaluation metrics and visual comparison methods.

4. Proposed Solution

  • A Convolutional Neural Network (CNN) architecture based on ResNet-50 transfer learning is trained on labeled Alzheimer MRI datasets.
  • The model learns structural brain abnormalities associated with different dementia stages.
  • It predicts MRI classes categorized into:
    • Non-Demented
    • Very Mild Demented
    • Mild Demented
    • Moderate Demented
  • Optimization and GPU acceleration are used to ensure model accuracy and efficiency.
  • The solution provides a complete end-to-end training, testing, evaluation, and visualization pipeline inside a single Jupyter notebook.

5. Methodology

Step 1 – Dataset Acquisition

  • Alzheimer MRI dataset obtained from OASIS / Kaggle Brain MRI public dataset.
  • Contains labeled MRI scans categorized by dementia severity for supervised training.

Step 2 – Data Preprocessing

  • MRI images resized to 224×224 pixels for CNN compatibility.
  • Pixel normalization applied to improve training stability.
  • Dataset split into 80% training and 20% validation partitions.
  • Data augmentation (random rotation, flipping, shifting) applied to address class imbalance.

Step 3 – Model Architecture

  • Utilizes ResNet-50 pretrained on ImageNet to leverage powerful feature extraction.
  • Final fully connected layers redefined for 4-class classification.
  • Core components:
    • Loss Function: Cross-Entropy
    • Optimizer: Adam
    • Batch Normalization & Dropout to reduce overfitting
    • CUDA GPU acceleration for improved performance

Step 4 – Model Training

  • Runs for multiple epochs with real-time monitoring of training & validation curves.
  • Learning rate scheduling and early stopping strategies used.
  • Uses PyTorch DataLoader pipeline for efficient mini-batch processing.

Step 5 – Evaluation

  • Performance measured using:
    • Accuracy, Loss
    • Confusion Matrix
    • Precision / Recall / F1-score
    • Prediction visualization examples

Step 6 – Prediction & Testing

  • Tested on unseen MRI scans to validate generalization strength.

What This Methodology Enables

  • Faster and more reliable Alzheimer screening.

  • Reduced manual workload for radiologists.

  • Objective, repeatable, and scalable medical imaging evaluation.

  • Can be extended to real clinical deployment, telemedicine, and hospital PACS integration.


6. Technology Used

Category Tools / Frameworks
Programming Language Python 3.12
Deep Learning Framework PyTorch
GPU Acceleration CUDA
Model Architecture ResNet-50 (Transfer Learning)
Development Environment Jupyter Notebook
Libraries NumPy, Pandas, Matplotlib, Torchvision, Scikit-Learn
Dataset OASIS Alzheimer MRI Dataset
Visualization Tools Matplotlib, Seaborn

7. Key Features

  • Automated classification of Alzheimer MRI scans.
  • High accuracy deep learning model for medical diagnosis.
  • Complete E2E pipeline – preprocessing → model training → evaluation.
  • Multi-class classification support (4 levels of dementia).
  • GPU-accelerated performance and optimization techniques.
  • Visual analytics (graphs, confusion matrix, prediction results).

10. Conclusions

  • The proposed deep learning model successfully identifies Alzheimer disease severity from MRI scans with high predictive performance.
  • Automating diagnosis helps reduce radiologist workload and improves clinical decision accuracy.
  • This project demonstrates strong potential for integration into real-world healthcare systems with proper deployment pipelines.

11. Results

Metric Value
Final Training Accuracy 98%
Final Validation Accuracy 97–98%
Loss Trend Decreasing steadily across epochs
Classification Type Multi-class
Model Used ResNet-50
Classes 4
Dataset OASIS MRI Dataset

12. About the Author

Himanshu Gaur
Cybersecurity Enthusiast & Deep Learning Researcher
B.Tech – VIT Bhopal (Graduating 2027)
Top 1% TryHackMe Global Rank | Experience with AI-based research applications

GitHub: https://github.com/Himanshu49Gaur
LinkedIn: https://linkedin.com/in/himanshu-gaur-305006282

About

An AI-powered system automating Alzheimer’s diagnosis using ResNet-50 and PyTorch. It classifies MRI scans into four dementia stages, providing radiologists with a fast, accurate, and scalable deep learning tool to improve early detection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors