Update an Existing Model

This article describes how to update an existing model using Jupyter or the ModelOp Command Center.

Table of Contents

 

Update an existing model using git

Changes made to the remote branch from which the model was imported into ModelOp Center will automatically sync with ModelOp Center. See Integrate with Git for more information.

Update an existing model using Jupyter

Update an Existing Model Using the ModelOp UI

 

To update a model in the ModelOp UI:

  1. Navigate to the ModelOp UI.

  2. In the left column, click Inventory.

  3. Change the drop-down to Implementations

  4. Select the model you want to modify from the list. This opens the Model Implementation page.

  5. Use the tabs to modify the appropriate section (Assets, Repository, Schema), as required

 

(Advanced) Switching between Use Cases and Model Implementations

Upon upgrade to ModelOp v3.3 or for other reasons, a user may want to change a model implementation to a Use Case.

 

Note: This is advanced functionality, so please proceed with caution.

 

To do so, please follow these steps:

  1. Identify the StoredModel id to be converted 

image-20240918-203745.png

In this example, we are converting a StoredModel type USE_CASE to a PYTHON3 Implementation.

 

fb5c45a0-9250-4da0-b006-8d8ecfd0e7fa.png

 

  1. Define destination type to be used, from the next list of valid types.

  • PYTHON

  • PYTHON3

  • R

  • PFA

  • C

  • CPP

  • CC

  • JUPYTER

  • PFA_YAML

  • PFA_PPFA

  • JAVA

  • OCTAVE

  • DMN

  • CMMN

  • SAGEMAKER

  • DATAIKU

  • PYSPARK

  • USE_CASE

  • EXCEL

  • SAS

  • ENSEMBLE

  • VENDOR

  • MLFLOW

  • UNKNOWN

Any other value different than the list above wont work

  1. In swagger find the PATCH section inside StoredModel Entities, and input StoredModel ID to be converted.

 

 

Identify the type of conversion to execute.

Scenario: to translate from USE_CASE → Implementation of type PYTHON3

{ "modelMetaData":{ "type" : "PYTHON3" } }

 

 

Scenario: to translate from Implementation typePYTHON3→ USE_CASE

{ "modelMetaData":{ "type" : "USE_CASE" } }

 

  1. Hit Execute and confirm response HttpStatus is 200.

 

 

Edit

 

Next Article: >

Â