DP-100 · Question #514
You manage an Azure Machine Learning workspace. You build an image recognition training pipeline, which includes hyperparameter tuning. For each epoch run, you plan to log the following metrics: - the
The correct answer is B. mlflow.log_param() D. mlflow.log_artifacts(). mlflow.log_param() mlflow.log_param() logs a single key-value param in the currently active run. The key and value are both strings. Use mlflow.log_params() to log multiple params at once. mlflow.log_artifacts() mlflow.log_artifacts() logs all the files in a given directory as ar
Question
Options
- Amlflow.log_artifact()
- Bmlflow.log_param()
- Cmlflow.log_metric()
- Dmlflow.log_artifacts()
How the community answered
(43 responses)- A12% (5)
- B81% (35)
- C7% (3)
Explanation
mlflow.log_param() mlflow.log_param() logs a single key-value param in the currently active run. The key and value are both strings. Use mlflow.log_params() to log multiple params at once. mlflow.log_artifacts() mlflow.log_artifacts() logs all the files in a given directory as artifacts, again taking an optional https://mlflow.org/docs/latest/tracking/tracking-api/
Topics
Community Discussion
No community discussion yet for this question.