Databricks Certified Machine Learning Professional — Question 40

A machine learning engineer is converting a Hyperopt-based hyperparameter tuning process from manual MLflow logging to MLflow Autologging. They are trying to determine how to manage nested Hyperopt runs with MLflow Autologging.
Which of the following approaches will create a single parent run for the process and a child run for each unique combination of hyperparameter values when using Hyperopt and MLflow Autologging?

Answer options

Correct answer: A

Explanation

The correct answer is A because starting a manual parent run creates a structure that allows for the tracking of child runs for each hyperparameter combination. Option B does not address the organization of runs, while option C incorrectly suggests placing child runs inside an objective function, which would not create a proper parent-child relationship. Option D is incorrect as it ignores the functionality of MLflow Autologging, and option E misrepresents the need for a manual parent run.