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

Exam Certified Machine Learning Associate All Questions

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

Exam Certified Machine Learning Associate topic 1 question 38 discussion

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

A data scientist is utilizing MLflow Autologging to automatically track their machine learning experiments. After completing a series of runs for the experiment experiment_id, the data scientist wants to identify the run_id of the run with the best root-mean-square error (RMSE).
Which of the following lines of code can be used to identify the run_id of the run with the best RMSE in experiment_id?

  • A.
  • B.
  • C.
  • D.
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
2d84e25
4 months, 1 week ago
Selected Answer: C
import mlflow # Search for all runs in the experiment with the specified experiment_id, # sorted by RMSE in ascending order runs_df = mlflow.search_runs( experiment_ids=[experiment_id], order_by=["metrics.rmse ASC"], max_results=1 ) # Get the run_id of the run with the best (lowest) RMSE best_run_id = runs_df.iloc[0]['run_id'] print(f"The run_id with the best RMSE is: {best_run_id}")
upvoted 2 times
...
souarav
5 months, 3 weeks ago
Selected Answer: C
rmse being lower is good. Default value in orderby is ASC, option A is showing DESC which mean higher rmse
upvoted 2 times
...
[Removed]
5 months, 3 weeks ago
Selected Answer: C
I think it should be C, since ordering by RMSE descending would give the run with *highest* RMSE, i.e. the worst run first.
upvoted 4 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 ...