This project implements a Convolutional Neural Network (CNN) to classify brain MRI scans into four categories: Glioma Tumor, Meningioma Tumor, Pituitary Tumor, and No Tumor. The model is designed to automate the tumor detection process, aiding radiologists in early diagnosis and treatment planning.
- Source: Brain Tumor MRI Dataset on Kaggle
- Size: Approximately 7,000 MRI images
- Classes: Glioma Tumor, Meningioma Tumor, Pituitary Tumor, No Tumor
- Format: JPG images, organized into training and testing sets
π Brain_Tumor_Classification_CNN
βββ Brain Tumors and Mental Health.docx # A brief report to decode the connection between brain tumor and mental health
βββ README.md # Project documentation
βββ brain-tumor-classification-using-cnn.ipynb # Jupyter notebook for training and evaluation
βββ brain-tumor-classification-using-cnn.pdf # PDF export of the notebook
βββ brain-tumor-classification-using-cnn.html # HTML export of the notebook
βοΈ Data Preprocessing β Resized MRI images, applied data augmentation, and normalized pixel values.
βοΈ Transfer Learning β Utilized ResNet18 for feature extraction.
βοΈ Custom Classification Layer β Fine-tuned the final layers for multi-class classification.
βοΈ Model Evaluation β Calculated accuracy, precision, recall, and F1-score.
βοΈ Visualization β Included confusion matrices and loss curves for performance analysis.
- Overall Accuracy: 91% on test data
- High Precision and Recall for Pituitary and No Tumor classes
- Confusion Matrix to visualize model performance across all classes
- Deploy the model as a web application for real-time tumor detection
- Gandhar Ravindra Pansare (Indiana University, Bloomington)
- Guided by Professor Krista Li
This project is open-source under the MIT License.