This application predicts the likelihood of heart disease based on user-provided medical attributes. It leverages machine learning models from scikit-learn and provides a user-friendly interface using Streamlit. The app is deployed on the web.
- Predicts the probability of heart disease using a machine learning model.
- User-friendly interface built with
Streamlit. - Web-deployed application for accessibility.
The machine learning model used in this app achieves an accuracy of 86% on the dataset it was trained on. Performance metrics such as precision, recall, and F1-score may vary based on user input and dataset characteristics.
To use the application locally, follow these steps:
-
Clone the repository: git clone https://github.com/an-admin/Heart_dis.git
cd heart-disease-prediction-app
-
Install dependencies: pip install -r requirements.txt
-
Run the app: streamlit run app.py
-
Access the app: Open your web browser and go to
http://localhost:8501to view and interact with the application.
The app is deployed using Streamlit Sharing. Visit (https://heartdispredict.streamlit.app/) to use it online.
Contributions are welcome! If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.