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 27 discussion

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

A data scientist has written a function to track the runs of their random forest model. The data scientist is changing the number of trees in the forest across each run.
Which of the following MLflow operations is designed to log single values like the number of trees in a random forest?

  • A. mlflow.log_artifact
  • B. mlflow.log_model
  • C. mlflow.log_metric
  • D. mlflow.log_param
  • E. There is no way to store values like this.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hugodscarvalho
10 months ago
Selected Answer: D
Using mlflow.log_param, the data scientist can easily track and record the number of trees in the random forest model across different runs. Doc: https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.log_param
upvoted 1 times
...
random_data_guy
11 months ago
Selected Answer: D
Log a parameter (e.g. model hyperparameter) under the current run. https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.log_param
upvoted 1 times
...
trendy01
11 months ago
Selected Answer: D
mlflow.log_param("num_trees", num_trees)
upvoted 1 times
...
BokNinja
11 months, 2 weeks ago
import mlflow # Start a new MLflow run with mlflow.start_run(): # Log the parameter mlflow.log_param("num_trees", num_trees)
upvoted 1 times
BokNinja
11 months, 1 week ago
Which makes it D
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 ...