QuestionQ8

VerifiedDatabricks Machine Learning

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

Which of the following lines of code can identify the run_id of the run with the best RMSE in experiment_id?

Explanation

For RMSE, a lower value is better. mlflow.search_runs() can order results by metrics.rmse; when no direction is specified, MLflow uses ascending order. The first returned row therefore contains the run_id for the lowest-RMSE run.

Learn more

Community Discussion

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