Skip to content

EmanAhmed55/Breast-Cancer-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Breast Cancer Detection

This project implements a K-Nearest Neighbors (KNN) classifier to detect breast cancer from a dataset.

Table of Contents

Installation

To run this project, you need to have the following Python packages installed:

  • pandas
  • numpy
  • seaborn
  • matplotlib
  • scikit-learn

You can install these packages using pip:

pip install pandas numpy seaborn matplotlib scikit-learn

Usage

1. Load the dataset using pandas.

2. Preprocess the data (handle missing values, feature scaling, etc.).

3. Train the KNN classifier with the training set.

4. Evaluate the model using a confusion matrix and F1 score.

Evaluation

The performance of the model is evaluated using:

  • Confusion Matrix
  • F1 Score

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

About

This project implements a K-Nearest Neighbors (KNN) classifier to detect breast cancer using a dataset of tumor characteristics. The model is trained and evaluated based on accuracy, confusion matrix, and F1 score. It aims to assist in identifying malignant and benign tumors effectively.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors