DATABRICKS-MACHINE-LEARNING-ASSOCIATE practice question 14 of 15

A data scientist has created a linear regression model that uses log(price) as a label variable. Using this model, they have performed inference and…

Choose your answer, then check it against the explanation.

A data scientist has created a linear regression model that uses log(price) as a label variable. Using this model, they have performed inference and the predictions and actual label values are in Spark DataFrame preds_df. They are using the following code block to evaluate the model: regression_evaluator.setMetricName("rmse").evaluate(preds_df) Which of the following changes should the data scientist make to evaluate the RMSE in a way that is comparable with price?
Answer options
Question 14 of 15

Keep practicing

Take the free DATABRICKS-MACHINE-LEARNING-ASSOCIATE practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other DATABRICKS-MACHINE-LEARNING-ASSOCIATE practice questions

Scroll to Top