🫀 Heart-Disease-Prediction - Assess Heart Disease Risk Easily

🚀 Getting Started
Welcome to the Heart Disease Prediction repository! This application helps assess the risk of heart disease by using machine learning. It is designed for users without technical backgrounds.
📦 Features
- Accuracy: This application provides an 88.5% accuracy rate in predicting heart disease.
- User-Friendly Interfaces: Use either a web dashboard or a REST API for your interactions.
- Explainability: Understand predictions through SHAP (SHapley Additive exPlanations) values.
- Tracking: Monitor your machine learning model’s performance with MLflow.
- Easy Deployment: Use Docker for quick setup and deployment.
🛠️ System Requirements
- Operating System: Windows 10 or later, macOS, or any recent Linux distribution
- Python: Version 3.7 or later
- Memory: At least 4GB RAM
- Storage: 500MB available space
- Internet: Required for initial setup and updates
💻 Download & Install
To get started, visit this page to download: Heart-Disease-Prediction Releases.
🕹️ Installation Steps
- Go to Releases: Click the link above to navigate to the Releases page.
- Select Version: Choose the latest version of the software.
- Download File: Look for the executable file (often named
Heart-Disease-Prediction.exe for Windows or Heart-Disease-Prediction.dmg for macOS).
- Run Installer: Open the downloaded file and follow the on-screen instructions.
🌐 Using the Application
Once the application is installed, you can start using it.
1. Launch the Application
- For desktop installations, find the “Heart-Disease-Prediction” icon on your desktop or in your applications folder. Double click to open.
2. Using the Web Dashboard
- Open a web browser and navigate to
http://localhost:8501 to access the Streamlit dashboard.
3. Accessing the REST API
- You can also interact with the FastAPI REST API. Open your browser or a tool like Postman and navigate to
http://localhost:8000/docs to see available endpoints.
🔍 How to Make Predictions
Make a Prediction via Dashboard
- Go to the dashboard.
- Fill in the required fields. This will usually include your age, cholesterol levels, and other health metrics.
- Click “Predict”.
- Wait a moment for the result.
Make a Prediction via REST API
- Make a POST request to
/predict.
- Send the health data in JSON format.
- The application will return the risk assessment.
📊 Understanding Results
Once you receive a prediction, you will also see an explanation of the result. Look for a breakdown of the factors that contributed to the assessment. This feature uses SHAP to clarify how different inputs affect your risk.
🐳 Docker Deployment
If you prefer using Docker for deployment, follow these steps:
- Ensure Docker is installed on your machine.
- Open your command line interface.
-
Use the following command to pull the Docker image:
docker pull YOUR_IMAGE_NAME
-
Run the Docker container with:
docker run -p 8501:8501 YOUR_IMAGE_NAME
- Access the dashboard through your browser at
http://localhost:8501.
🛠️ Troubleshooting
If you run into any issues:
- No Response: Ensure the application is running.
- Network Issues: Check your internet connection.
- Data Input Errors: Double-check the values you entered.
For more help, visit the Issues page.
🔗 Additional Resources
Access the releases here: Heart-Disease-Prediction Releases.
Your health matters. Use Heart Disease Prediction to take charge of your well-being.