Giter Site home page Giter Site logo

armin-abdollahi / brain-tumor-diagnosis Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 737 KB

Brain tumor detection with CNN model on Kaggle dataset

Home Page: https://www.kaggle.com/datasets/navoneel/brain-mri-images-for-brain-tumor-detection

Jupyter Notebook 100.00%
brain-tumor-detection cnn convolutional-neural-networks python

brain-tumor-diagnosis's Introduction

Brain-Tumor-Diagnosis

235309204-68caaa9a-f47b-4b2e-8f53-aca277099d80

Dataset Link

https://www.kaggle.com/datasets/navoneel/brain-mri-images-for-brain-tumor-detection

Dataset Description

The dataset has 253 samples, which are divided into two classes with tumor and non-tumor. The number of people with brain tumor is 155 and people with non-tumor is 98.

A summary of the CNN model

Screenshot (831)

Training

Screenshot (832)

  • The optimizer is set to Adam.
  • The loss function is set to binary cross-entropy, which is used for binary classification problems.
  • The evaluation criterion is set to accuracy, which is used to measure the performance of the model during training and testing.
  • The batch_size parameter specifies the number of samples per gradient update.
  • The epochs parameter specifies the number of iterations in the entire training dataset.
  • The validation_data parameter specifies the validation data used during training.
  • The model is trained for 22 epochs, which means it is repeated 22 times on the entire training dataset.
  • During training, the performance of the model is evaluated based on the validation data. This helps prevent overfitting and ensures that the model generalizes well to new data.

Results

Accuracy Loss
Screenshot (830) Screenshot (829)

brain-tumor-diagnosis's People

Contributors

armin-abdollahi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.