QuestionQ7

VerifiedAdvanced MLflow Usage

A data scientist has developed a model and calculated the model's RMSE on the test set. They assigned this value to the rmse variable. They now want to manually log the RMSE value in the MLflow run.

They write the following incomplete code block:

Question Image

Which of the following lines of code can fill the blank so that the code block successfully completes the task?

Explanation

RMSE is a numeric performance metric. mlflow.log_metric("rmse", rmse) logs that metric name and numeric value to the active MLflow run. Parameters describe configuration values, while artifacts and models are stored through different logging APIs.

Learn more

Community Discussion

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