Skip to content

balajivis/modern-ai-pro

Repository files navigation

Heart Disease Prediction using Machine Learning

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.

Table of Contents

Features

  • 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.

Installation

  1. Clone this repository:

    git clone https://github.com/balajivis/modern-ai-pro.git
  2. Install the required packages:

    pip3 install -r requirements.txt

Usage

  1. Download the latest dataset from: https://www.kaggle.com/datasets/johnsmith88/heart-disease-dataset -- I have a .csv already included, just in case.

  2. Train the model:

    python train-heartdisease.py
  3. Run the Flask application:

    python app-heart.py
  4. 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.

Contribute

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them with a meaningful commit message.
  4. Create a pull request.

Contributions are always welcome!

License

This project is licensed under the MIT License.


Made with ❤️ by Balaji Viswanathan.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published