IniziaInizia gratis

Transitioning model stages

Once models are registered to the Model Registry, each model version is eligible for a stage assignment. Stages are used to manage the model lifecycle and are used to represent different development environments.

In this exercise, using the mlflow client Class as client, you will take your "Insurance" models and transition each model according to the stage in your development lifecycle. First, you will transition your most stable model for production use. Then you will transition to a model that needs testing and evaluation. Finally, you will archive a model that is no longer needed.

The mlflow client module will be imported.

Questo esercizio fa parte del corso

Introduction to MLflow

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Transition version 2 of Insurance model to stable stage
client.____(____="____", ____=____,
        ____="____"
    )
Modifica ed esegui il codice