
Explanation:
To delete a specific version of a registered model in the MLflow Model Registry, the client.delete_model_version function is used. This function requires two arguments: name, which specifies the name of the registered model, and version, which indicates the specific version of the model to be deleted. Other options such as remove_model, erase_model_version, or delete_model either refer to deleting the entire registered model or are not standard functions for this purpose. Therefore, client.delete_model_version(name=model_name, version=1) is the correct and recommended approach for version-specific deletion.
Ultimate access to all questions.
What is the correct method to delete a specific version of a registered model in the MLflow Model Registry?
A
client.remove_model(name=model_name, version=1)
B
client.delete_model_version(name=model_name, version=1)
C
client.erase_model_version(name=model_name, version=1)
D
client.delete_model(name=model_name, version=1)
E
client.remove_model_version(name=model_name, version=1)
No comments yet.