Skip to content

rizanB/breast-cancer

Repository files navigation

Breast Cancer Classifier

This repository contains code for preprocessing the Winconsin cancer dataset, training models, and assessing their performance using metrics like roc auc curve and confusion matrix.

import seaborn as sns

Overview

Tasks:

  • Train models to see which classifier performs best on the Winconsin breast cancer dataset
  • Show performance metrics to user

Models

  • Logistic regression
  • Gaussian Naive bayes
  • KNN
  • SVM
  • Decision Tree
  • Random Forest
  • Gradient Boosting

Metrics

  • confusion matrix
  • roc auc curve

Tweaks

  • Hyperparameter tuning

Getting Started

Clone the repository

~ git clone https://github.com/rizanB/breast-cancer.git .

Take a look at the notebook

~ my.ipynb

Running with Docker

  1. Build Docker image
docker build -t breast-cancer .
  1. Run a container with the image
docker run -p 5000:5000 breast-cancer

Running without Docker

  1. Install required packages
pip install -r requirements.txt
  1. Start Flask server
python app.py 

Accessing the application Open a browser and visit http://localhost:5000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published