Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Machine Learning Professional All Questions

View all questions & answers for the Certified Machine Learning Professional exam

Exam Certified Machine Learning Professional topic 1 question 21 discussion

Actual exam question from Databricks's Certified Machine Learning Professional
Question #: 21
Topic #: 1
[All Certified Machine Learning Professional Questions]

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

  • A. mlflow.shap.log_explanation
  • B. None of these operations can accomplish the task.
  • C. mlflow.shap
  • D. mlflow.log_figure
  • E. client.log_artifact
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hugodscarvalho
10 months ago
Selected Answer: A
C is partially correct. However, going with A since it contains the method itself. Using mlflow.shap.log_explanation, you can automatically calculate and log Shapley feature importance plots, providing insights into the importance of different features in the model's predictions.
upvoted 1 times
...
random_data_guy
11 months ago
Selected Answer: A
Answer A. https://mlflow.org/docs/latest/python_api/mlflow.shap.html#mlflow.shap.log_explanation "... computes and logs explanations of an ML model’s output. Explanations are logged as a directory of artifacts containing the following items generated by SHAP (SHapley Additive exPlanations). - Base values - SHAP values (computed using shap.KernelExplainer) - Summary bar plot (shows the average impact of each feature on model output)"
upvoted 2 times
...
mozuca
11 months ago
Selected Answer: A
mlflow.shap: Automatically calculates and logs Shapley feature importance plots. # Generate and log SHAP plot for first 5 records mlflow.shap.log_explanation(rf.predict, X_train[:5])
upvoted 1 times
...
BokNinja
11 months, 1 week ago
C. mlflow.shap
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...