QuestionQ77
VerifiedModel DevelopmentA data scientist created a linear regression model that uses log(price) as its label variable. After running inference, the predictions and actual label values are in the Spark DataFrame preds_df.
They evaluate the model using the following code block:
regression_evaluator.setMetricName("rmse").evaluate(preds_df)
Which change should the data scientist make to evaluate RMSE so that it is comparable with price?
Community Discussion