Code Monkey home page Code Monkey logo

devikag999 / openlgd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-risk/openlgd

0.0 0.0 0.0 541 KB

openLGD is a Python powered library for the statistical estimation of Credit Risk Loss Given Default models. It can be used both as standalone library and in a federated learning context where data remain in distinct (separate) servers

Home Page: https://www.openriskmanual.org/wiki/Loss_Given_Default_Models

License: Apache License 2.0

Shell 4.84% Python 95.16%

openlgd's Introduction

Intro

openLGD is a Python powered library for the statistical estimation of Credit Risk Loss (Also loss-given-default or LGD) models. openLGD can be used both as standalone library or in a federated learning context where data remain in distinct (separate) servers

image

Key Information

NB: This is a very early alpha release. openLGD is still in active development

Standalone Mode

The standalone mode is illustrated via the script standalone_run.py

Federated Mode

Getting started with the federated demo

  • Clone the repo in a local linux environment
  • Install the dependencies in a virtual environment
  • Fire up a number of flask servers on different shells. Check the Spawn Cluster Script for how to export the environment. This will fire up several xterm's where server output is logged
  • Run the Controller script to perform the demo calculation

Fabric based configuration

Going forward we'll use fabric and yaml to ease deployment. Check Fabfile for preliminary functionality

Dependencies

  • The statistical model estimation is currently using scikit-learn / statstmodels components
  • The model server is based on the python flask framework.

The complete dependency list in the requirements file

Startup of the model servers:

The demo Model Servers are python/flask based servers

  • The model servers should startup on ports http://127.0.0.1:500X/ where X is the serial number
  • You can check the server is live by pointing your browser to the port
  • or by using curl from the console (curl -v http://127.0.0.1:500X/)

Model Server API endpoints:

The general structure of the simplified API is

See Also

openlgd's People

Contributors

open-risk avatar dependabot[bot] 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.