QuestionQ14

VerifiedModel Deployment

A machine learning engineer is modifying a machine learning project so its model refreshes automatically each time it runs. The project is linked to the existing model_name model in the MLflow Model Registry.

They use the following code block as part of the solution:

Question Image

What is the effect of the registered_model_name=model_name parameter and argument, given that model_name already exists in the MLflow Model Registry?

Explanation

In mlflow.sklearn.log_model, registered_model_name creates a model version under the specified registered model. When that registered model already exists, the logged model is added as a new version of it; no separate mlflow.register_model call is required.

Learn more

Community Discussion

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