/open-model-manager-resources

This repository contains the start-up script for SAS Open Model Manager, as well as helper scripts for administration and customization.

Primary LanguagePythonApache License 2.0Apache-2.0

Model Management Resources for Open-Source Models

This repository contains resources that can be used for administration and customizations that help with managing open-source models. In addition, there are sample models and data, and example Jupyter notebooks that can be used to submit API requests for common model management tasks using SAS Model Manager or SAS Open Model Manager.

Overview

SAS Open Model Manager is a standalone version of SAS Model Manager that is meant for data analysts using open-source modeling languages such as Python and R. SAS Open Model Manager is a new tool to make it easy for open-source modelers to operationalize their models. In a single Web application you can manage your full model life cycle: development, testing, deployment, validation, and monitoring. The content on this GitHub repository is available for users of SAS Open Model Manager and SAS Model Manager on SAS Viya. It provides scripts and sample code that can make it easier to perform model management tasks. It also serves as a place where the open source community of users can share ideas, code, and models.

Note: Some capabilities that are used in the scripts and sample code are not supported by SAS Model Manager 15.3 or earlier versions.

For more information about model management, see the following resources:

Demo Videos

How-To Tutorial videos available on the SAS video portal:

For how-to tutorial videos about using the pzmm Python package or sasctl.pzmm module to register a Python model, see the pzmm demos in the python-sasctl GitHub Repository.

Examples

  • Jupyter notebooks and Python code examples that you can use to perform model management tasks are available in the examples directory.
  • Sample data and models for Python and R programming language models are available in the samples directory.

For additional examples that demonstrate how to use the pzmm module of the sasctl package to import Python models, see the examples directory in the python-sasctl GitHub repository.

SAS Model Manager CLIs

Here are the CLIs that are available for use with SAS Model Manager on SAS Viya 2020.1 and later:

  • SAS Viya Models CLI - enables you to perform the following tasks:

    • Register, organize, and manage models within a common model repository.
    • Retrieve a list of publishing destinations and published models
    • Retrieve information about a publishing destination or published model.

The SAS Viya Models CLI can be downloaded from the SAS Viya CLI Downloads page on the SAS Support website.

Here are the CLIs that are available for use with SAS Model Manager 15.3 on SAS Viya 3.5 and SAS Open Model Manager 1.2:

  • SAS Model Repository CLI - enables you to register, organize, and manage models within a common model repository.
  • SAS Model Publish CLI - enables you to retrieve a list of publishing destinations and published objects (such as models), as well as information about a destination or published model.

The CLIs can be downloaded from the SAS Model Manager Downloads page on the SAS Support website.

Startup Script for SAS Open Model Manager

The run_docker_container script in the runOpenMM directory launches the SAS Open Model Manager container.

For information about deploying the container, see SAS Open Model Manager 1.2 for Containers: Deployment Guide.

Addons

The addons directory contains how-to information for administration and customization tasks.

Contributing

We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.

License

This project is licensed under the Apache 2.0 License.

Additional Resources