1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to MLflow

Connected

Exercise

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.

Instructions 1/3

undefined XP
  • 1
    • Transition Model version 2 to the model stage that is only for the most stable models.
  • 2
    • Transition Model version 3 to the stage used for testing and evaluations.
  • 3
    • Set Model version 1 to be archived so users know it is retired.