An open API service indexing awesome lists of open source software.

https://github.com/bhaveshbhakta/heart-disease-prediction

Note* The hosted website link might take some time to load. Please be patient while the application initializes.
https://github.com/bhaveshbhakta/heart-disease-prediction

flask heart-disease-prediction machine-learning python web-development

Last synced: 7 months ago
JSON representation

Note* The hosted website link might take some time to load. Please be patient while the application initializes.

Awesome Lists containing this project

README

          

# Heart Disease Prediction

This repository showcases a machine learning-driven solution for predicting heart disease, combining multiple advanced algorithms with an interactive and dynamic web-based interface.

## Project Overview

Heart disease is a leading cause of death worldwide, and early detection is crucial for effective management and prevention. This project aims to assist in this process by using a predictive model powered by machine learning, coupled with a user-friendly web interface that makes the tool accessible to everyone.

## Key Features

### Machine Learning Models
- **Algorithm Diversity**: The model leverages multiple algorithms, including Logistic Regression, Decision Tree Classifier, K-Nearest Neighbors Classifier, and Support Vector Machines (SVM).
- **Ensemble Learning**: A stacking classifier is employed to integrate predictions from these models, providing the most accurate and reliable output possible.

### User Interaction
- **Input Parameters**: The interface requires users to input medical parameters such as Age, cholesterol, Fbs, Slope etc which are critical in diagnosing heart disease.
- **Prediction Output**: Based on the input values, the tool predicts whether heart disease is present or not, helping users understand their health risks.

### Web Design and User Experience
- **Lenis for Mouse Trails**: Adds a visually appealing dynamic mouse trail effect for an engaging user interaction.
- **GSAP Animations**: Implements smooth animations that elevate the overall look and feel of the website.
- **ScrollTrigger for Dynamic Routing**: Enables seamless transitions between pages and sections, enhancing navigation and responsiveness.

## Technical Highlights
This project integrates cutting-edge machine learning techniques with modern web development practices:
- **Data Analysis**: The algorithms are trained on comprehensive datasets, ensuring robustness and accuracy.
- **Scalability**: Designed with extensibility in mind, allowing for future incorporation of additional features or models.
- **Responsive Design**: The interface adapts to various devices, ensuring accessibility for all users.

## Purpose and Applications
The primary goal of this project is to make an impactful contribution to healthcare by providing an efficient and interactive tool for heart disease prediction. While targeted at healthcare professionals and patients, the platform also serves as an excellent educational resource for individuals learning about machine learning applications in medicine.

## Installation

Follow these steps to set up and run the project on your local system:

1. Clone the repository to your local machine:
```bash
git clone https://github.com/BhaveshBhakta/heart-disease-prediction.git
```

2. Navigate to the project directory:
```bash
cd heart-disease-prediction
```

3. Install the required dependencies:
```bash
pip install -r requirements.txt
```

4. Run the application:
```bash
python app.py
```

5. Open your browser and go to `http://127.0.0.1:5000` to interact with the web application.

## Contributing
Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request.

## Website Overview

![landingpage](https://github.com/user-attachments/assets/44d8cc95-cd32-44df-bb82-d7cdedd21a5e)

![servicepage](https://github.com/user-attachments/assets/c4e87916-73d3-4668-9c29-a502ab4de2a2)

![predictionpage](https://github.com/user-attachments/assets/2607b1f6-c5bd-432a-8578-94cb537e373c)