Giter Site home page Giter Site logo

kul-arun / heart-disease-prediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.61 MB

Generate a Machine Learning model which is capable of predicting whether a person has heart disease or not, based on the medical attributes of the person.

License: MIT License

Jupyter Notebook 100.00%
data-preprocessing data-science exploratory-data-analysis heart-disease-classification heart-disease-dataset heart-disease-prediction jupyter-notebook machine-learning supervised-learning uci-machine-learning

heart-disease-prediction's Introduction

Heart Disease Prediction

The aim of this project is to create a Machine Learning model which is capable of predicting whether a person has heart disease or not, based on the medical attributes of the person. Thus, we have a binary classification task at hand. We shall use the Cleveland heart disease dataset which is taken from the UC Irvine Machine Learning Repository. The various medical attributes present in the dataset are explained in the jupyter notebook. In this project, we perform the following tasks:

  • Data Preprocessing
  • Exploratory Data Analysis (EDA)
  • Testing the classification accuracy of several baseline models
  • Tuning the hyperparameters of the chosen model
  • Evaluating the performance of the tuned model using several metrics
  • Inspecting the important features in the dataset

Installation

  • Python

Install Python 3.9 or higher. Create a virtual environment with:

python3 -m venv <virtual-environment-name>

Example: To create a virtual environment called ML-project, use

python3 -m venv ML-project

Activate the virtual environment with:

source <path-to-virtual-environment>/bin/activate

The virtual environment can be deactivated with:

deactivate
  • Jupyter Notebook

Install Jupyter Notebook with:

pip install notebook

To run the notebook:

jupyter notebook
  • Additional Requirements

Install the necessary packages listed in requirements.txt via:

pip install -r requirements.txt

heart-disease-prediction's People

Contributors

kul-arun avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.