Giter Club home page Giter Club logo

liver-cirrhosis-stage-prediction's Introduction

Liver Cirrhosis Stage Prediction

Prediction of the stage of liver cirrhosis of a patient.

Problem Definition

Cirrhosis results from prolonged liver damage, leading to extensive scarring, often due to conditions like hepatitis or chronic alcohol consumption.

In this study we'll tyr to predict the stage of the cirrhosis for a person with the given parameters. Since the number of outcomes are limited, we'll approach this problem as a multi-class classification problem. We'll select and train a machine learning algorithm based on the performance metric which will be deciden in the upcoming section.

To install the required libraries, run the following command:

pip install -r requirements.txt

How to run it locally

Terminal

uvicorn main:asgi_app --port 10000

IDE

Create a python run configuration and choose the main.py file

Docker

  1. Run docker build -t cirrhosis-prediction .
  2. Run docker run -p 10000:10000 cirrhosis-prediction
  3. Open your browser and go to http://localhost:10000/

Online

API: https://cirrhosis-prediction-render.onrender.com//predict_api

{
    "N_Days": 1567,
    "Status": "C",
    "Drug": "Placebo",
    "Age": 15373,
    "Ascites": "Y",
    "Hepatomegaly": "N",
    "Spiders": "Y",
    "Bilirubin": 0.3,
    "Cholesterol": 136,
    "Albumin": 3.75,
    "Copper": 15,
    "Alk_Phos": 976,
    "SGOT": 53,
    "Tryglicerides": 78,
    "Platelets": 220,
    "Prothrombin": 10.3
}

liver-cirrhosis-stage-prediction's People

Contributors

muscak avatar

Watchers

 avatar

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.