This repository contains code for a breast cancer prediction model created using scikit-learn and deployed on a Streamlit web application.
Breast cancer is one of the most common cancers among women worldwide. Early detection plays a crucial role in improving survival rates. This project aims to assist in early detection by providing a machine learning model that predicts the likelihood of breast cancer based on certain features.
- Predictive Model: Utilizes scikit-learn to develop a predictive model based on input features such as tumor characteristics.
- Streamlit Web Application: The model is deployed on a Streamlit web application, providing a user-friendly interface for users to input data and obtain predictions.
- Python 3.8
- matplotlib==3.8.3
- numpy==1.26.4
- pandas==2.2.2
- plotly==5.20.0
- scikit_learn==1.4.1.post1
- streamlit==1.25.0
-
Clone this repository:
git clone https://github.com/your-username/breast-cancer-prediction.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Navigate to the project directory:
cd breast-cancer-prediction
-
Run the Streamlit app:
streamlit run app/app.py
-
Access the web application in your browser at
http://localhost:8501
.
Contributions are welcome! Please feel free to open an issue or submit a pull request.
Special thanks to the scikit-learn and Streamlit communities for their excellent libraries and resources.