Coder Social home page Coder Social logo

r4reejh / heartriskpredictor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 9.4 MB

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

Go 90.30% Shell 4.46% Python 5.24%
scikit-learn python3 decision-tree-classifier golang celery open-source

heartriskpredictor's Introduction

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

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.