QuestionQ3

VerifiedAdvanced MLflow Usage

A machine learning engineer is migrating a machine learning pipeline to Databricks Machine Learning. The pipeline must automatically refresh its model whenever it runs. The project is attached to the existing model_name model in the MLflow Model Registry.

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

Question Image

Which statement explains the effect of the registered_model_name=model_name parameter and argument, given that model_name already exists in the MLflow Model Registry?

Explanation

Supplying registered_model_name to mlflow.spark.log_model() registers the logged model directly in the MLflow Model Registry. If a registered model with that name already exists, MLflow creates a new model version under that existing registered model; it does not create another registered model with the same name.

Learn more

Community Discussion

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