Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

ML-MRI_Classification

Google Colab project to classify MRI images using TensorFlow

Complete Cell Structure: πŸŽ›οΈ Master Control Panel (Cell 1)

All flags in one place for easy control Visual status display showing what's ON/OFF

πŸ“¦ Setup & Installation (Cell 2)

Package installation with flag control Library imports (always run)

⬇️ Dataset Download (Cell 3)

Kaggle API integration Manual upload instructions Directory creation

πŸ“ Data Organization (Cell 4)

Automatic train/validation/test split Multiple source directory detection Error handling and feedback

πŸ—οΈ MRI Classifier Class (Cell 5)

Complete professional classifier Medical-optimized settings Comprehensive logging

πŸ“Š Data Visualization (Cell 6)

Sample image display Dataset statistics Error diagnostics

πŸ—οΈ Model Building (Cell 7)

Architecture selection Data generator creation Model summary display

πŸš€ Model Training (Cell 8)

Training with callbacks Progress visualization Performance tracking

πŸ“Š Model Evaluation (Cell 9)

Comprehensive testing Medical interpretation Confusion matrix

πŸ” Individual Predictions (Cell 10)

Single image testing Visual prediction display Accuracy assessment

πŸ’Ύ Model Saving (Cell 11)

Model and metadata storage Loading instructions File management

πŸ“‹ Workflow Summary (Cell 13)

Complete status report Next steps recommendations Success tips

Key Features: 🎯 Easy Control: python# Just change these at the top: VISUALIZE_SAMPLES = True # See your data TRAIN_MODEL = False # Skip training for now
TEST_PREDICTIONS = False # Test later πŸ”„ Flexible Workflow:

Run any combination of steps Skip time-consuming parts during testing Easy to restart and modify

πŸ“± Beginner-Friendly:

Clear status messages Error explanations Next step guidance

πŸ₯ Medical-Professional:

Appropriate augmentation for medical images Clinical interpretation of results Professional model architecture

How to Use in Colab:

Copy-paste into Colab cells (split at the # === markers) Set your flags in Cell 1 based on what you want to do Run cells in order - each checks its flag first Modify flags and re-run as needed

This gives you the exact same experience as horses vs humans, but with:

Professional medical features Complete control over execution No wasted time on unnecessary steps Clear guidance at every stage

You can start by just setting VISUALIZE_SAMPLES = True to see your data, then gradually enable training and testing as you get comfortable!

About

Google Colab project to classify MRI images using TensorFlow

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages