Skip to content

This project implements a Convolutional Neural Network (CNN) to detect breast cancer from microscopic images of tumor tissue. Using a dataset of 7,909 images (2,480 benign and 5,429 malignant), the model is trained to classify images accurately, aiding in early cancer detection.

Notifications You must be signed in to change notification settings

anastasija0/Breast-cancer-detection-using-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Breast Cancer Detection using Deep Learning

This project implements a Convolutional Neural Network (CNN) to classify breast cancer images as either benign or malignant.

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Data Organization: Place your dataset in the following structure:
C:/Datasets/BreastCancer/
├── training/
│   ├── benign/
│   └── malignant/
└── testing/
    ├── benign/
    └── malignant/
  1. Run the model:
python app.py

Model Architecture

  • Input: Grayscale images (120x120 pixels)
  • 2 Convolutional layers with MaxPooling
  • Dense layers for classification
  • Binary output (benign/malignant)

Performance Metrics

The model evaluates accuracy and loss on the test set.

About

This project implements a Convolutional Neural Network (CNN) to detect breast cancer from microscopic images of tumor tissue. Using a dataset of 7,909 images (2,480 benign and 5,429 malignant), the model is trained to classify images accurately, aiding in early cancer detection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages