🔥 3-day streak
Databricks Certified Machine Learning Associate113 / 137
Question 113 of 137

A data scientist trains a Spark ML linear regression model to predict house prices. They want to evaluate the fitted model's predictions on a held-out DataFrame using root mean squared error. They write the following code: ```python from pyspark.ml.evaluation import RegressionEvaluator evaluator = RegressionEvaluator( labelCol="price", predictionCol="prediction" ) result = evaluator.evaluate(predictions_df) ``` Without specifying anything further, what value does `result` contain?

Reviewed for accuracy · Report an issueNext question