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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
64934ca
2 days, 17 hours 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
3 weeks, 5 days ago
Answer is D
upvoted 1 times
...
c4b65b5
3 weeks, 6 days ago
Selected Answer: D
mlflow does not have log_data method
upvoted 1 times
...
srikanth923
2 months, 1 week ago
Selected Answer: D
Answer is D
upvoted 2 times
...
hugodscarvalho
5 months, 1 week ago
Selected Answer: D
Doc: https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.log_artifact
upvoted 3 times
...
mozuca
6 months, 1 week ago
Selected Answer: C
Agree!
upvoted 2 times
...
trendy01
6 months, 1 week ago
Selected Answer: D
D. mlflow.log_artifact(importance_path, "feature-importance.csv")
upvoted 2 times
...
dplyr
6 months, 2 weeks ago
Selected Answer: D
D. mlflow.log_artifact(importance_path, "feature-importance.csv")
upvoted 2 times
...
BokNinja
6 months, 3 weeks 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in