Giter Site home page Giter Site logo

marcinbrzezanski / brain-tumor-mri-classification Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 56.12 MB

Project made in Jupyter Notebook with Kaggle Brain tumors 256x256 dataset, which aims at the classification of brain MRI images into four categories, using custom CNN model, transfer learning VGG16 model and fine tuning.

Jupyter Notebook 100.00%
cnn-classification data-science data-visualization jupyter-notebook machine-learning neural-network python

brain-tumor-mri-classification's Introduction

Brain tumor MRI classification

Table of Contents

Introduction

Project made in Jupyter Notebook with Kaggle Brain tumors 256x256 dataset, which aims at the classification of brain MRI images into four categories, using different CNN models.

Data Description

Dataset contains 3096 images of human brain MRI scans divided into four categories:

  • Pituitary tumor
  • Meningioma tumor
  • Giloma tumor
  • Normal - no tumor

Methodology

  1. Data importing & augmentation - Notebook starts with importing data and applying rescaling, rotation and horizontal flip to perform data augmentation.
  2. Data Visualization - To get better understanding of data, sample from every category is being displayed along with it's label.
  3. Custom CNN model - Custom Convultional Neural Network model is being build, trained and evaluated by accuracy score and Loss & Accuracy charts.
  4. Transfer Learning - With help of VGG16 pretrained convultional base another model is developed, trained and evaluated as earlier.
  5. Fine tuning VGG16 model - By allowing some of VGG16's convultional layers to be trainable model is being further trained to fit data better.

Technology Stack

  • Python 3.9.18
  • Pandas 2.0.3
  • Numpy 1.26.0
  • Matplotlib 3.8.0
  • Tensorflow 2.6.0
  • Keras 2.6.0

brain-tumor-mri-classification's People

Contributors

marcinbrzezanski avatar

Stargazers

 avatar Semih Ocaklı 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.