🩺 Breast Cancer Diagnostic System

A Machine Learning-based web application built with Streamlit that predicts whether a breast tumor is Benign or Malignant using clinical measurement data.


πŸ“Œ Project Overview

This project uses a Decision Tree Classifier trained on breast cancer diagnostic data to help analyze tumor characteristics and predict cancer severity.

The application provides a simple and interactive user interface where users can enter clinical measurements and instantly receive prediction results.


πŸš€ Features

  • Interactive Streamlit web interface
  • Real-time tumor diagnosis prediction
  • Decision Tree Machine Learning model
  • User-friendly clinical input form
  • Instant result visualization
  • Lightweight and easy to run

πŸ› οΈ Technologies Used

  • Python
  • Streamlit
  • Pandas
  • NumPy
  • Scikit-learn

πŸ“‚ Project Structure

breast-cancer-diagnostic-system/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ data.csv
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
└── screenshots/

πŸ“Š Dataset Information

The dataset contains breast cancer clinical measurements such as:

  • Radius
  • Texture
  • Perimeter
  • Area
  • Smoothness
  • Compactness
  • Symmetry
  • Fractal Dimension

Target Labels:

  • M β†’ Malignant (Cancerous)
  • B β†’ Benign (Non-Cancerous)

βš™οΈ Installation

1️⃣ Clone Repository

git clone https://github.com/YOUR_USERNAME/breast-cancer-diagnostic-system.git

2️⃣ Navigate to Project Folder

cd breast-cancer-diagnostic-system

3️⃣ Install Required Libraries

pip install -r requirements.txt

▢️ Run Application

streamlit run app.py

πŸ–₯️ Application Workflow

  1. Enter patient clinical measurements
  2. Click Analyze Results
  3. System predicts:
    • Malignant
    • Benign

πŸ“Έ Screenshots

Add application screenshots inside:

screenshots/

Example:

  • Home Page
  • Prediction Result
  • Input Form

πŸ“ˆ Machine Learning Model

Model Used:

Decision Tree Classifier

Reason for selection:

  • Fast training
  • Easy interpretability
  • Good performance on structured datasets

πŸ“Œ Future Improvements

  • Add multiple ML algorithms
  • Improve UI design
  • Add model accuracy visualization
  • Deploy on Streamlit Cloud
  • Add patient report export feature

πŸ‘¨β€πŸ’» Author

Tapabrata Sau


πŸ“„ License

This project is licensed under the MIT License.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support