Skip to content

A Novel and Efficient Methodology Based on Blended Machine Learning Techniques for Brain MRI Classification ** Give a Star star2 If it helps you. Please go through the README.md before starting.

License

Notifications You must be signed in to change notification settings

qalmaqihir/BrainMRIProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain MRI Classification

This repo contains all the code base for my final year project. The Brain MRI Classification. This project aims to build an accurate and robust ML model for classification of normal and abnormal brain MRI images. The basic idea is to use Image Processing as well as Machine Learning Algorithms to implment a novel and improved model; which surpasses other state of the art models in literature. This repository has jupyter notebooks - providing detail notes on the topics - as well as MATLAB codes for implementing Image Processing algorithms to evaluate the best ones for the actual model.

Contents

1. Image Processing (Jupyter notebooks)

- Basic Conversions, Reading and writing to images [chpt1-3]
- Image Filters and Image Enchancement (transformations) [chpt4-5] 
- Filters preprocessing
- Transforms preprocessing
- Feature Extractions

2. MATLAB Code

- Basic Image handling, Filters and Feature Extraction
- Medain, Skewness, Standard Deviation, Kurtosis, Entropy

3. Models

- Artificial Neurla Network
        - Red, Green, Blue channel saved model
        - Confusion matrix for testing and Training
        - model 
- Decision Tree 
        - Red, Green, Blue channel saved model
        - Confusion matrix for testing and Training
        - model 

- Support Vector Machine
        - Red, Green, Blue channel saved model
        - Confusion matrix for testing and Training
        - model 
- Random Forest
        - Red, Green, Blue channel saved model
        - Confusion matrix for testing and Training
        - model 
- k-NN
        - Red, Green, Blue channel saved model
        - Confusion matrix for testing and Training
        - model 
- Naive Bayes
        - Red, Green, Blue channel saved model
        - Confusion matrix for testing and Training
        - model 

4. Performance Evaluation

- Confusion matrix
- F1-score, Accuracy, Precision and Recall were calculated.
- Performance is evaluated on output from majority vote and the y_test
-

5. Dataset

- The Dataset is three files (red, green and blue) in excel as well as csv formats. And a Labels file with the classes.
- For the model, we gave all three files to three classifiers alone with the labels file
- All the algorithms were give the same data files
-

Installation

OS X & Linux:

git clone https://github.com/qalmaqihir/BrainMRIProject.git

Usage example

Each Jupyter notebook contains sufficeint information about the topics covered. While the MATLAB code has comments to guide the reader about the processes.

For more about each topic and the model, please refer to the Wiki.

Release History

Each commit has its own history...

Meta

Jawad Haider – @JawadHa49605912jawad.haider_2022@ucentralasia.org

Distributed under the MIT license. See LICENSE for more information or check here.

Contributing

  1. Fork it (https://github.com/qalmaqihir/BrainMRIProject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

A Novel and Efficient Methodology Based on Blended Machine Learning Techniques for Brain MRI Classification ** Give a Star star2 If it helps you. Please go through the README.md before starting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published