
Explanation:
The registered_model_name=model_name parameter in mlflow.sklearn.log_model is used to register the model under a specific name ('model_name') in the MLflow Model Registry. If 'model_name' already exists, MLflow will append the newly logged model as a new version under that name, facilitating version control and management of model updates. This is crucial for tracking model iterations systematically within an automated workflow. Options A, B, C, and E misinterpret the parameter's primary function, which is specifically for version management in the Model Registry, not for naming models in experiments or eliminating subsequent registration calls.
Ultimate access to all questions.
No comments yet.
A machine learning engineer is enhancing a project to automatically refresh the model each time the project runs. The project is connected to an existing model named 'model_name' in the MLflow Model Registry. The following code snippet is part of their strategy: mlflow.sklearn.log_model(sk_model=model, artifact_path='model', registered_model_name=model_name). Given that 'model_name' is already present in the MLflow Model Registry, what does the parameter registered_model_name=model_name signify?
A
It removes the need to specify the model name in a subsequent call to mlflow.register_model.
B
It creates a new model entry titled 'model_name' in the MLflow Model Registry.
C
It specifies the name of the logged model in the MLflow Experiment.
D
It adds a new version of the 'model_name' model in the MLflow Model Registry.
E
It indicates the name of the Run in the MLflow Experiment.