Sitelet https://web.archive.org/web/20230325093422/http://github.com/open-risk/openLGD
Skip to content

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

License

open-risk/openLGD

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published