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.
Latihan ini adalah bagian dari kursus
Introduction to MLflow
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Transition version 2 of Insurance model to stable stage
client.____(____="____", ____=____,
____="____"
)