Skip to content

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

Notifications You must be signed in to change notification settings

r4reejh/HeartRiskPredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published