Giter Club home page Giter Club logo

brain-tumor-detection-using-ml's Introduction

Brain Tumor Detection using Machine Learning

Table of contents:

Introduction

This dataset contains 7023 human brain MRI images classified into 4 classes: glioma - meningioma - no tumor and pituitary. no tumor class images were taken from the Br35H dataset, while SARTAJ dataset has a problem that glioma class images are not categorized correctly. Processing

project steps

First: Image Processing

1. Cropping to focus on brain shape
2. Applying Gaussian Filter for blurring on gray scale images
3. Apply Thresholding
4. apply active contour for tumor shape extraction

Processing

Second: Feature Extraction

1. Mean, Standard Deviation, Variance, Skewness, Entropy, RMS, Kurtios, HMI1, HMI2, HMI3, HMI4 of image
2.  Area, Perimeter, Circular shape, Convex Area, Solidity, Equivalent Diameter, Major Axis, Minor Axis,  of The tumor after image contouring
3.  GLCM features like contrast, homogeneity, energy, correlation, dissimilarity 

No Tumor Class Contours

No Error

Meningioma Tumor

Menin1 Menin2

Pituitary Tumor

Ptut Ptut2

Glioma Tumor

Glioma with no error Glioma with  error

Third: Modeling

1. Random Forest Classifier (90%)
2. XGBoosting Classifier (91%)
3. Support Vection Machine (88%)
4. Knearest Knieghbour (87%)

Fourth: Hyperparameter tuning and Feature selection

* Scaling data using Standard Scaler (increased the test accuracies of models)
* Dimensionality Reduction Using PCA (was not a good option)
* best feature was

Fifth: Evaluation

* Confusion Matrix
* F1 Score, Precision, and Recall

project-structure

main
├─ Notebooks
│  ├─  Feature Extraction
│  ├─  Modelling and Evaluation
│  └─  Data Analysis
├─ Paper & contributions
├─ Contour Images & processed images
└─ README.md

Run the Project

Install Python3
Download it from www.python.org/downloads/
  1. Install the following packages
pip install numpy
pip install Flask
pip install os
pip install PIL
pip install opencv-python
pip install skimage

Team

Eights Semester - Biomedical Digital Signal Processing (SBE3110) class project created by:

Team Members' Names Section B.N.
Ahmed Hassan 1 4
Habiba Fathalla 1 27
Rahma Abdelkader 1 31
Yousr Ashraf 2 54

Submitted to:

  • Dr. Enas & Eng. Merna All rights reserved © 2023 to Team 6 - Systems & Biomedical Engineering, Cairo University (Class 2024)

brain-tumor-detection-using-ml's People

Contributors

ahmedhassan187 avatar habibafathalla avatar rahmaabdelkader2 avatar yousrhejy 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.