QuestionQ29

VerifiedDatabricks Machine Learning

A data scientist is using MLflow Autologging to automatically track machine-learning experiments. After finishing a series of runs for the experiment_id experiment, the data scientist wants to find the run with the best root-mean-square error (RMSE).

They have written the following incomplete code block:

Question Image

Which of the following code fragments should the data scientist use to fill the blank and complete the block to identify the run with the best RMSE?

Explanation

mlflow.search_runs returns the runs for the specified experiment and accepts order_by. An order_by value of "metrics.rmse" sorts in ascending order by default, placing the lowest RMSE first; indexing run_id at position 0 therefore returns the best run. MLflow Search Runs documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!