r4reejh / HeartRiskPredictor

Project for the Open source programming course, to predict whether a person is susceptible to heart disease or not

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heart Disease Risk Predictor

Project for the Open Source Programming course, to predict whether a person is susceptible to heart disease or not

Prediction Engine:

  1. Decision tree logic implemented
  2. Using Celery with Redis to distribute tasks and maintain queue

Rest Endpoints:

  1. To validate user input
  2. Make REST interface indepenent from ML code, for future purposes
  3. Made using golang

Sample Request

Sample Request Body

{
    "name":"Reejh Ghosh",
    "age":43.0,
    "sex":1,
    "cp":0,	
    "trestbps":120,	
    "chol":177,	
    "fbs":0,	
    "restecg":0,	
    "thalach":120,	
    "exang":1,	
    "oldpeak":2.5,	
    "slope":1,	
    "ca":0	,
    "thal":3
}

Sample Response

{
    "Name": "Reejh Ghosh",
    "Label": 0,
    "Date": "2018-09-17T10:08:31.679127494+05:30"
}

UI sample

alt text alt text

About

Project for the Open source programming course, to predict whether a person is susceptible to heart disease or not


Languages

Language:Go 90.3%Language:Python 5.2%Language:Shell 4.5%