Skip to content

In this deep learning project I have done medical image classification using CNN and ResNet architectures. Compares model performance through transfer learning and architectural depth analysis to enhance diagnostic accuracy in breast cancer detection.

Notifications You must be signed in to change notification settings

AnnasMustafaDev/Deep-learning-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Breast Cancer Classification with CNN and ResNet

This project aims to classify breast cancer using Convolutional Neural Networks (CNN) and ResNet, comparing their performance based on accuracy, recall, F1-score, precision, and Area Under the Curve (AUC) of the Receiver Operating Characteristic (ROC) curve.


Overview

Breast cancer is one of the most prevalent forms of cancer among women worldwide. Early detection is crucial for effective treatment and improved survival rates.
Machine learning techniques, particularly deep learning models, have shown promising results in automating the detection and classification of breast cancer from medical images.

In this project, I employ CNN and ResNet architectures to classify breast cancer from mammogram images. The models are evaluated on multiple metrics to determine their effectiveness in accurately diagnosing breast cancer.


Dataset

I utilize the Breast Cancer Histopathological Database (BreakHis) for training and evaluation.
This dataset consists of high-resolution histopathological images of breast tissue samples labeled with cancerous and non-cancerous regions.


Model Architecture

๐Ÿ”น CNN

I design a custom Convolutional Neural Network (CNN) architecture tailored for breast cancer classification.
The CNN comprises multiple convolutional, activation, and pooling layers, followed by fully connected layers for classification.

๐Ÿ”น ResNet

I leverage the Residual Neural Network (ResNet) architecture, known for its deep structure and skip connections, which facilitate training of very deep networks.
A pre-trained ResNet model is fine-tuned on the breast cancer dataset for optimized classification performance.


Evaluation Metrics

The performance of both CNN and ResNet models is evaluated using the following metrics:

  • Accuracy โ€“ Overall proportion of correctly classified samples
  • Recall โ€“ Proportion of actual positive cases correctly identified
  • Precision โ€“ Proportion of predicted positive cases that are correct
  • F1-score โ€“ Harmonic mean of precision and recall
  • AUC (ROC) โ€“ Measure of the model's ability to distinguish between classes across various thresholds

Results

The comparative performance of CNN and ResNet models is analyzed based on the above metrics.
ROC curves are plotted to visualize the trade-off between true positive rate and false positive rate, showcasing each modelโ€™s ability to discriminate between cancerous and non-cancerous samples.


Acknowledgements

I acknowledge the Breast Cancer Histopathological Database (BreakHis) for providing the dataset used in this project.

About

In this deep learning project I have done medical image classification using CNN and ResNet architectures. Compares model performance through transfer learning and architectural depth analysis to enhance diagnostic accuracy in breast cancer detection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published