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:
- Decision tree logic implemented
- Using Celery with Redis to distribute tasks and maintain queue
Rest Endpoints:
- To validate user input
- Make REST interface indepenent from ML code, for future purposes
- 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"
}