π CancerGuardian is a machine learning-powered web application designed to assist in breast cancer diagnosis using the Breast Cancer Wisconsin (Diagnostic) Dataset. This tool predicts whether a tumor is malignant or benign, helping in early detection and decision-making.
β
Breast cancer classification using machine learning π
β
Trained on the Breast Cancer Wisconsin (Diagnostic) Dataset π₯
β
Standardized input scaling with StandardScaler π
β
Interactive web interface built with streamlit π¨
β
Easy-to-run setup with pre-trained model π―
CancerGuardian/
βββ assets/
β βββ style.css # CSS for UI styling
β
βββ dataset/
β βββ data.csv # Original dataset
β
βββ model/
β βββ data_cleaned.csv # Processed dataset
β βββ model.pkl # Trained ML model
β βββ scaler.pkl # StandardScaler for input normalization
β βββ train.py # Script for training the model
β
βββ app.py # Main application script
This project utilizes the Breast Cancer Wisconsin (Diagnostic) Dataset, available on Kaggle: π Dataset Link
The dataset contains features extracted from digitized images of breast mass and helps classify tumors into:
- Malignant (cancerous) π
- Benign (non-cancerous) β
git clone https://github.com/ArchitJ6/CancerGuardian.git
cd CancerGuardianpip install -r requirements.txt
streamlit run app.py
1οΈβ£ User inputs tumor-related features via the web interface π₯οΈ
2οΈβ£ Input is standardized using StandardScaler π
3οΈβ£ Pre-trained model.pkl predicts whether the tumor is malignant or benign π§¬
4οΈβ£ Result is displayed with an intuitive UI π¨
Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request. π
This project is licensed under the MIT License. π
If you found this project helpful, βοΈ star the repository and share it with others!
Happy coding! π