Skip to main content

A declarative approach to model lifecycle management on Cloud Pak for Data

Project description

cpdflow


cpdflow is a declarative approach to model lifecycle management on Cloud Pak for Data.

In a nutshell, cpdflow consolidates APIs from various Cloud Pak for Data modules in a dependency graph aligned to the 4 model lifecycle stages from Factsheets Model Inventory; so that you can simply declare the end state of each model and cpdflow will infer the necessary steps that needs to be taken and runs them.

Think of it as using Kubernete's apply to manage model lifecycles. Simply declare the final lifecycle stage you want for each model and let cpdflow handle the rest.

For example, to deploy two models (German Credit Risk-SVC and German Credit Risk-RF) in a development space, simply define the model names in the respective lifecycle stage.

cpdflow apply deploy -c config.json -m "German Credit Risk-SVC" -m "German Credit Risk-RF"

And to validate another model (German Credit Risk-GBC) on OpenScale in a development environment.

cpdflow apply validate -c config.json -m "German Credit Risk-GBC"

Note: Although there are prerequisites steps such as training, deploying and subscribing before OpenScale can evaluate the model, it was not explictly defined as cpdflow handles dependencies automatically.

cpdflow can infer what are the necessary steps that needs to be actioned upon to achieve the final state.

Under the hood, cpdflow generates an execution path based on a dependency graph and runs the necessary steps to achieve the model's desired lifecycle stage.

Here is what the entire graph looks like,

Graph

This is a living graph and is updated consistently to add new features and update API changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cpdflow-0.0.10-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file cpdflow-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: cpdflow-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for cpdflow-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4a47ccbe8e61434417e8f2684eec26bee6c6696ceb9f2250fc7a1101f5316d78
MD5 cf214ed4e6582279e2507c0747a1adb3
BLAKE2b-256 2acd49b996217054f5e74d1e0fb8d2a6c5394b6d37b218e222dc182feb5d13ab

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page