Code Monkey home page Code Monkey logo

qalmaqihir / brainmriproject Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12.69 MB

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: MIT License

Jupyter Notebook 94.16% MATLAB 1.32% M 0.01% Python 4.51%
matlab machine-learning jupyter-notebook python brainmri imageprocessing algorithms pytorch tensorfow deep-learning

brainmriproject's Introduction

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 โ€“ @JawadHa49605912 โ€“ [email protected]

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

brainmriproject's People

Contributors

qalmaqihir avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.