This project develops a machine learning model to predict the likelihood of heart disease based on clinical features, including age, blood pressure, cholesterol levels, and other relevant factors. The goal is to assist in early detection and support medical decision-making through data-driven insights
- Exploratory Data Analysis
- Data Preprocessing: Feature scaling
- Model Selection: Evaluation of multiple ML classifiers (e.g., Random Forest, XGBoost)
- Performance Metrics: Accuracy, precision, recall, F1-score, ROC-AUC curve
- Deployment: Interactive web interface using Streamlit
Clone the repository
git clone https://github.com/auspicie/Heart-Disease_Prediction-ML.git
cd heart-disease-prediction
**Install dependencies**
pip install -r requirements.txtRun the Streamlit app: streamlit run heart_disease_app.py
Interact with the app: Input values and view predictions in your browser.
Input: Male, Age: 58, Cholesterol: 230, ...
Output: ✅ Unlikely to have heart disease
Source: Kaggle
Clinical Features: Age, cholesterol, blood pressure, chest pain type, smoking history, etc.
Contributions are welcome! Feel free to: Open an issue Submit a pull request
This project is licensed under the MIT License.
- Ensure that the
heart_disease_model.pklandscaler.pklare in the same directory as the app.
Built with ❤️ using Streamlit and Scikit-learn.
