This repository contains a Machine Learning project that predicts the likelihood of heart disease based on various health metrics. Built with Keras and Flask, it serves as a great starting point for anyone looking to dive into the practical aspects of Machine Learning.
- Data Analysis: Comprehensive exploratory data analysis (EDA) on the heart disease dataset.
- Model Building: A Keras-based deep learning model to predict heart disease presence.
- Web Interface: A Flask-powered web interface to input health metrics and receive predictions.
-
Clone this repository:
git clone https://github.com/balajivis/modern-ai-pro.git
-
Install the required packages:
pip3 install -r requirements.txt
-
Download the latest dataset from: https://www.kaggle.com/datasets/johnsmith88/heart-disease-dataset -- I have a .csv already included, just in case.
-
Train the model:
python train-heartdisease.py
-
Run the Flask application:
python app-heart.py
-
Open a browser and go to
http://127.0.0.1:5000/
. Input the required health metrics and get a prediction on the likelihood of heart disease.
- Fork the repository.
- Create a new branch.
- Make your changes and commit them with a meaningful commit message.
- Create a pull request.
Contributions are always welcome!
This project is licensed under the MIT License.
Made with ❤️ by Balaji Viswanathan.