
Ultimate access to all questions.
In a Spark MLlib project, you are working with a large dataset and need to perform model evaluation to assess the performance of your machine learning model. Which of the following evaluation metrics can be used in Spark MLlib for regression tasks, and how do they work?
A
Mean Absolute Error (MAE), which measures the average absolute difference between the predicted and actual values.
B
Mean Squared Error (MSE), which measures the average squared difference between the predicted and actual values.
C
R-squared, which measures the proportion of the variance in the target variable that is explained by the model.
D
All of the above, as Spark MLlib supports various evaluation metrics for regression tasks.