QuestionQ50
VerifiedAdvanced MLflow UsageA machine learning engineer has built a machine learning pipeline that produces a scikit-learn model and calculates the RMSE rmse, MAE mae, and R-squared r2 values for the test set. They now need to log these values to the MLflow run. The values are held in the metrics dictionary.
They execute the following code block:

The code block results in an error.
Which change to the code block will successfully complete the task?
Community Discussion