Giter Site home page Giter Site logo

heart-disease-prediction's Introduction

Heart Disease Prediction

Combination of machine learning classification models to predict whether a person has a heart disease

Table of contents

Description

The objective of this project is to predict

Data source: framingham_heart_disease.csv - Kaggle

Methodologies

This project was created as the capstone assignment for Applied Machine Learning course at UT Dallas, including 2 projects:

Project 1 has 2 parts:

  • Part 1: Regression Task - Bike Rental Prediction: data cleaning, supervised machine learning regression models
  • Part 2: Classification Task - Heart Disease Prediction: data cleaning, supervised machine learning classification models
    • a mix of classification models (ensemble learning, classification machine learning, principal component analysis and deep learning) to provide hospitals a filtering system that helps patients identify and prevent potential predictors of having a heart disease
    • Perform data cleansing and exploratory data analysis

Project 2 has 2 parts:

  • Part 1: Regression Task - Bike Rental Prediction: ensemble learning, principal component analysis (PCA), regression models using PCA, deep learning (DL) models using neural networks
  • Part 2: Classification Task - Heart Disease Prediction: ensemble learning, principal component analysis (PCA), classification models using PCA, deep learning (DL) models using neural networks
    • Apply a combination of models including Emsemble Learning (voting classifiers, bagging, pasting, adaboost and gradient boosting), Principal Component Analysis, Classification Machine Learning (KNN, Logistic Regression, Linear Support Vector Machine, Kernelilzed Support Vector Machine (rbf, poly, and linear), Decision Tree) and Deep Learning to predict whether a patient has a heart disease
    • Create Tableau dashboards for data analysis and visualization
    • Automate the modeling process and deploy the chosen model into production in Azure ML

Results

  • Model Result: ARIMA time series provided the highest accuracy with a MSE of 0.22 (followed by KNN).
  • Visualization: Tableau dashboards for the stock portfolio analysis were created here.
  • Automated ML and Deployment: the chosen model (time series) was applied in Azure ML and deployed into production here.

Files

For all models, Close price is the predicted value.

  • requirements.txt: text file containing all Python libraries used in the project

Technologies

Project is created with:

  • MS Excel
  • SQL
  • MySQL Server
  • Anaconda
  • Jupyter Lab
  • Jupyter Notebook
  • Google Colab
  • Python 3
  • R Studio
  • Tableau
  • Azure ML Studio
  • Windows

Packages

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • tensorflow
  • keras
  • beautifulsoup
  • requests
  • scikit-learn
  • statsmodels.tsa
  • mysql.connector

Setup

  • Download all data files
  • Install the requirements using pip install -r requirements.txt.
    • Make sure you use Python 3

Usage

  • Run Stock Price Prediction.ipynb to see all project steps

Status

Project is finished.

Inspiration

Project inspired by Analytics Vidhya's tutorials of prediction models.

Contact

Created by @mypham14 - feel free to contact me on my LinkedIn!

heart-disease-prediction's People

Contributors

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