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

Exam Certified Machine Learning Professional All Questions

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

Exam Certified Machine Learning Professional topic 1 question 3 discussion

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

A data scientist is using MLflow to track their machine learning experiment. As a part of each MLflow run, they are performing hyperparameter tuning. The data scientist would like to have one parent run for the tuning process with a child run for each unique combination of hyperparameter values.
They are using the following code block:

The code block is not nesting the runs in MLflow as they expected.
Which of the following changes does the data scientist need to make to the above code block so that it successfully nests the child runs under the parent run in MLflow?

  • A. Indent the child run blocks within the parent run block
  • B. Add the nested=True argument to the parent run
  • C. Remove the nested=True argument from the child runs
  • D. Provide the same name to the run_name parameter for all three run blocks
  • E. Add the nested=True argument to the parent run and remove the nested=True arguments from the child runs
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
zafarsohaib
5 months, 1 week ago
A should be the correct answer.
upvoted 1 times
...
sindhu_gowda
5 months, 2 weeks ago
A is correct
upvoted 1 times
...
c4b65b5
5 months, 2 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
hugodscarvalho
10 months ago
Selected Answer: A
A
upvoted 1 times
...
random_data_guy
11 months ago
Selected Answer: A
A should be correct - see https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.start_run for an example (where nested=True is added to children runs + they have different names)
upvoted 1 times
...
mozuca
11 months ago
Selected Answer: A
The answer is A since the correct sintax is: with mlflow.start_run(run_name="Nested Example") as run: # Create nested run with nested=True argument with mlflow.start_run(run_name="Child 1", nested=True): mlflow.log_param("run_name", "child_1") with mlflow.start_run(run_name="Child 2", nested=True): mlflow.log_param("run_name", "child_2")
upvoted 1 times
...
BokNinja
11 months, 1 week ago
A. Indent the child run blocks within the parent run block
upvoted 1 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 ...