A web API that predicts if a patient has a heart disease or not
To run, run in terminal: python Prediction_API.py
and then go to this url, http://localhost:5000/predict?name=Ashutosh&age=67&sex=1&cp=1&trestbps=145&chol=233&fbs=1&thalach=2&exang=150&oldpeak=0&slope=2.3&ca=0&thal=6
You can edit the values of name, age,...and thal.
The output is displayed for example as follows: {"Ashutosh":"Yes"}
The classifier is at accuracy of 70%.