Back to Projects

Cancer Diagnostic Predictor

The Cancer Diagnostic app is a machine learning-powered tool designed to help healthcare professionals diagnose breast cancer. Using a set of measurements, the app predicts whether a breast mass is benign or malignant. It provides a visual representation of the input data using a radar chart and displays the predicted diagnosis along with the probability of being benign or malignant. The app can be used by manually entering measurements or by connecting to a cytology lab to obtain data directly from a machine. Connecting to the lab machine is not part of the app itself.

December 21, 2025
Cancer Diagnostic Predictor

Tech Stack

pythonstreamlitscikit_learn

Cancer Diagnostic Predictor

Overview

The Cancer Diagnostic app is a machine learning-powered tool designed to help healthcare professionals diagnose breast cancer. Using a set of measurements, the app predicts whether a breast mass is benign or malignant. It provides a visual representation of the input data using a radar chart and displays the predicted diagnosis along with the probability of being benign or malignant. The app can be used by manually entering measurements or by connecting to a cytology lab to obtain data directly from a machine. Connecting to the lab machine is not part of the app itself.

The app was developed using the public dataset (https://www.kaggle.com/datasets/uciml/breast-cancer-wisconsin-data). Please note that this dataset may not be reliable.

Installation

Steps

  1. Clone the repository:
git clone https://github.com/chrfsa/cancer_predict_with_ml.git

cd cancer_predict_with_ml.git

  1. Create a virtual environment and activate it:
python -m venv venv

# On Windows
.\venv\Scripts\activate

# On macOS and Linux
source venv/bin/activate

  1. Install the dependencies:
pip install -r requirements.txt

Usage

streamlit run app/main.py

Cancer Diagnostic Predictor | Mohand Saïd Cheurfa