Databricks Certified Machine Learning Professional — Question 39

Which of the following MLflow operations can be used to automatically calculate and log a Shapley feature importance plot?

Answer options

Correct answer: A

Explanation

The correct answer is A, as mlflow.shap.log_explanation is specifically designed to calculate and log Shapley feature importance plots. The other options do not have this functionality: B indicates that no operations can perform the task, which is incorrect; C and D do not specifically log Shapley explanations; and E is related to logging artifacts rather than feature importance plots.