CPU: Intel 8- Core i7-11800
GPU: RTX 3060
Pytorch 1.10 with cuda11.3 cudnn8.0
PyTorch, sklearn, pandas, PIL, matplotlib, tensorboard, joblib, glob
Brain tumors are a common and aggressive disease that can be detected by magnetic resonance imaging (MRI) figures. The purpose of this project is to explore the classification power of different algorithms based on brain MRI scans.
Identify whether there is a tumor in MRI images
Classify glioma, meningioma, pituitary tumors, and no tumor.
3000 512x512 pixel gray-scale MRI images organized in 4 classes.
860 glioma images, 855 meningioma images, 831 pituitary images and 454 no tumor images.
200 512x512 pixel gray-scale MRI images organized in 4 classes.
43 glioma images, 68 meningioma images, 52 pituitary images and 37 no tumor images.
-
Load and pre-process the dataset. (test: valid = 8:2)
-
Hyper-parameters selection process.
-
Learning curve.
-
save the model.
-
Load the models saved before.
-
The same pre-processing as training.
-
Testing the models by accuracy, confusion matrix and classification report.
-
Draw the ROC curves of random forest, SVM and KNN.
Notes. Need the model files but not provided here.
Notes. Need the model files but only one CNN model is provided here.