Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A data analyst has trained a linear regression model in BigQuery ML to predict customer transaction amounts. The analyst executes the ML.EVALUATE SQL function on an evaluation dataset to assess the model's predictive accuracy.
Which metric returned by the evaluation function measures the average absolute difference between target values and predicted values, where a lower score indicates better model performance?
Mean Absolute Error (MAE) is a fundamental evaluation metric used in regression tasks to measure the average magnitude of errors between predicted values and actual target labels. It is calculated by taking the arithmetic average of the absolute differences across all observed and predicted data points, treating over-predictions and under-predictions equally.
ML.EVALUATE on a regression model, BigQuery automatically returns mean_absolute_error alongside other standard regression metrics.MAE directly satisfies the criteria of calculating the average absolute error magnitude where smaller scores represent superior model accuracy, making it the correct metric for regression model evaluation in this scenario.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.