QuestionQ71

VerifiedAdvanced MLflow Usage

A machine-learning engineering manager has asked every engineer on their team to add text descriptions to each model project in the MLflow Model Registry. They are starting with the model project "model" and want to add the text stored in the model_description variable.

The team is using the following line of code:

Question Image

Which change does the team need to make to the preceding code block to complete the task?

Explanation

MlflowClient.update_registered_model() updates a registered model’s metadata and accepts name and description parameters. Passing name="model" and description=model_description already sets the registered model’s description. update_model_version() is for describing a specific version and requires a version identifier.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!