Brain Tumor MRI Classification | Step 2 Cross Validation Techniques and Hyperparameter Tuning #136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This contains cross validation techniques and hyperparameter tuning. This is how these are implemented
Cross Validation Technique:
Different techniques for distributing dataset into training and testing dataset are implemented:
Along with average overall accuracies, class wise accuracies are calculated.
Out of these techniques, K-Fold CV technique gives better overall accuracy and class wise accuracy.
Hyper-parameter Tuning
For this Learner module, FastAI, has been considered which provides a way to create and fine-tune CNN models. We can specify a pre-trained model architecture and fine-tune it on the dataset.
These implementation are done:
Related Issues
Fixes #96
Testing Instructions
Necessary modules are already specified in the notebook itself. The work is carried out on Kaggle with accelarator set to GPU T4 x2.
Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.