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 4 discussion

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

A machine learning engineer wants to log feature importance data from a CSV file at path importance_path with an MLflow run for model model.
Which of the following code blocks will accomplish this task inside of an existing MLflow run block?

  • A.
  • B.
  • C. mlflow.log_data(importance_path, "feature-importance.csv")
  • D. mlflow.log_artifact(importance_path, "feature-importance.csv")
  • E. None of these code blocks tan accomplish the task.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
64934ca
4 months, 3 weeks ago
Selected Answer: D
By using the mlflow.log_artifact function, you can log the feature importance CSV file as an artifact within an existing MLflow run. Additionally, you can log the model using the appropriate MLflow flavor and optionally log the feature importance data as metrics for easier access and analysis. This approach ensures that all relevant information is logged and tracked within the same MLflow run.
upvoted 1 times
...
sindhu_gowda
5 months, 2 weeks ago
Answer is D
upvoted 1 times
...
c4b65b5
5 months, 2 weeks ago
Selected Answer: D
mlflow does not have log_data method
upvoted 1 times
...
srikanth923
7 months ago
Selected Answer: D
Answer is D
upvoted 2 times
...
hugodscarvalho
10 months ago
Selected Answer: D
D
upvoted 3 times
...
mozuca
11 months ago
Selected Answer: C
Agree!
upvoted 2 times
...
trendy01
11 months ago
Selected Answer: D
D. mlflow.log_artifact(importance_path, "feature-importance.csv")
upvoted 2 times
...
dplyr
11 months ago
Selected Answer: D
D. mlflow.log_artifact(importance_path, "feature-importance.csv")
upvoted 2 times
...
BokNinja
11 months, 1 week ago
D. mlflow.log_artifact(importance_path, "feature-importance.csv")
upvoted 2 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 ...