- π©Ί Breast Cancer Diagnostic System
π©Ί 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
- Enter patient clinical measurements
- Click Analyze Results
- 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.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support