
Databricks Certified Machine Learning - Associate
Get started today
Ultimate access to all questions.
A data scientist is performing a regression task in Databricks using Spark MLlib. They have a DataFrame named regression_preds_df
with predictions and true labels, structured as follows: prediction DOUBLE
, label DOUBLE
. Which of the following code snippets correctly calculates the Mean Absolute Error (MAE) for the regression model?
A data scientist is performing a regression task in Databricks using Spark MLlib. They have a DataFrame named regression_preds_df
with predictions and true labels, structured as follows: prediction DOUBLE
, label DOUBLE
. Which of the following code snippets correctly calculates the Mean Absolute Error (MAE) for the regression model?
Real Exam