
Answer-first summary for fast verification
Answer: Filter runs by specific metrics and parameters, sort by the primary metric, and handle incomplete runs by setting a default value.
To identify the best run, you would use the MLflow Client API to filter runs based on specific metrics and parameters relevant to the experiment's goals. Sorting by the primary metric helps in identifying the top-performing runs. Handling incomplete runs by setting a default value ensures that these runs do not unfairly influence the selection process.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with identifying the best run from a series of experiments using the MLflow Client API. Describe the steps you would take to achieve this, including how you would filter and sort the runs based on specific metrics and parameters. Additionally, explain how you would handle runs that have incomplete or missing data.
A
Filter runs by start time and sort by run duration, ignoring incomplete runs.
B
Filter runs by specific metrics and parameters, sort by the primary metric, and handle incomplete runs by setting a default value.
C
Randomly select a run without filtering or sorting.
D
Manually inspect each run and decide based on personal judgment.
No comments yet.