This project focuses on predicting the likelihood of heart disease in patients using machine learning techniques. The model employs the RandomForestClassifier algorithm to analyze a range of health parameters and assess the probability of heart disease.
This project aims to predict the presence of heart disease in patients using machine learning techniques. The model leverages the RandomForestClassifier algorithm to analyze various health parameters and determine the likelihood of heart disease.
- User-friendly web application built with Streamlit.
- Predicts heart disease based on user-provided health metrics.
- Provides an overview of model accuracy and performance.
- Python 🐍
- Streamlit 🌊
- Scikit-learn 📊
- Pandas 📚
- NumPy 🔢
- Matplotlib/Seaborn 🎨
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/swayamjk10/-heart-disease-prediction-using-genomic-profile-.git
-
Navigate to the project directory:
cd -heart-disease-prediction-using-genomic-profile-
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment: On macOS/Linux:
source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app7.py
Open a web browser and navigate to http://localhost:8501.
Input the required health parameters in the application and submit to receive a prediction. 🩺
The model's performance metrics, including accuracy, precision, recall, and F1 score, can be found in the model evaluation section. Detailed visualizations of feature importance and prediction outcomes are included.