A data scientist has developed a linear regression model using Spark ML and computed the predictions in a Spark DataFrame preds_df with the following schema: prediction DOUBLE actual DOUBLE
Which of the following code blocks can be used to compute the root mean-squared-error of the model according to the data in preds_df and assign it to the rmse variable?
jackttt
1 month, 2 weeks agoSC28
3 weeks, 4 days agodocrennoc
2 months, 3 weeks ago