Databricks Certified Machine Learning Professional — Question 11

A machine learning engineer has registered a sklearn model in the MLflow Model Registry using the sklearn model flavor with UI model_uri.
Which of the following operations can be used to load the model as an sklearn object for batch deployment?

Answer options

Correct answer: E

Explanation

The correct answer is E, as mlflow.sklearn.load_model(model_uri) is specifically designed to load sklearn models from the MLflow Model Registry. Options A and B are not applicable for sklearn models, while option C is a read operation and does not load the model as an object for deployment. Option D is for loading models in the PyFunc format, which is not suitable for direct sklearn usage.