This project implements a Convolutional Neural Network (CNN) to classify breast cancer images as either benign or malignant.
- Install dependencies:
pip install -r requirements.txt- Data Organization: Place your dataset in the following structure:
C:/Datasets/BreastCancer/
├── training/
│ ├── benign/
│ └── malignant/
└── testing/
├── benign/
└── malignant/
- Run the model:
python app.py- Input: Grayscale images (120x120 pixels)
- 2 Convolutional layers with MaxPooling
- Dense layers for classification
- Binary output (benign/malignant)
The model evaluates accuracy and loss on the test set.