Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Exam Databricks-Machine-Learning-Associate All Questions
Exam Databricks-Machine-Learning-Associate All Questions

View all questions & answers for the Databricks-Machine-Learning-Associate exam

Databricks ML Data Scientist Databricks-Machine-Learning-Associate Question # 6 Topic 1 Discussion

Databricks-Machine-Learning-Associate Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

A data scientist has created a linear regression model that useslog(price)as a label variable. Using this model, they have performed inference and the predictions and actual label values are in Spark DataFramepreds_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 withprice?


A.

They should exponentiate the computed RMSE value


B.

They should take the log of the predictions before computing the RMSE


C.

They should evaluate the MSE of the log predictions to compute the RMSE


D.

They should exponentiate the predictions before computing the RMSE


Get Premium Databricks-Machine-Learning-Associate Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.