End-to-end user journeys for time series forecasting models

Exploring the end-to-end user journeys for BigQuery ML time series forecasting models can help you identify the exact SQL statements and functions that are supported for your forecasting workflow. Comparing ARIMA_PLUS univariate models, ARIMA_PLUS_XREG multivariate models, and the built-in TimesFM univariate model lets you plan how to create, evaluate, explain, and generate forecasts or detect anomalies directly in BigQuery ML.

Model creation user journeys

The following table describes the statements and functions you can use to create time series forecasting models:

Model type Model creation Feature preprocessing Hyperparameter tuning Model weights Tutorials
ARIMA_PLUS CREATE MODEL Automatic preprocessing auto.ARIMA1 automatic tuning ML.ARIMA_COEFFICIENTS
ARIMA_PLUS_XREG CREATE MODEL Automatic preprocessing auto.ARIMA1 automatic tuning ML.ARIMA_COEFFICIENTS
TimesFM N/A N/A N/A N/A Forecast multiple time series

1The auto.ARIMA algorithm performs hyperparameter tuning for the trend module. The entire modeling pipeline doesn't support hyperparameter tuning. See the modeling pipeline for more details.

Model use user journeys

The following table describes the statements and functions you can use to evaluate, explain, and get forecasts from time series forecasting models:

Model type Evaluation Inference AI explanation
ARIMA_PLUS ML.EVALUATE1
ML.ARIMA_EVALUATE
ML.HOLIDAY_INFO
ML.FORECAST
ML.DETECT_ANOMALIES
ML.EXPLAIN_FORECAST2
ARIMA_PLUS_XREG ML.EVALUATE1
ML.ARIMA_EVALUATE
ML.HOLIDAY_INFO
ML.FORECAST
ML.DETECT_ANOMALIES
ML.EXPLAIN_FORECAST2
TimesFM AI.EVALUATE AI.FORECAST N/A

1You can input evaluation data to the ML.EVALUATE function to compute forecasting metrics such as mean absolute percentage error (MAPE). If you don't have evaluation data, you can use the ML.ARIMA_EVALUATE function to output information about the model like drift and variance.

2The ML.EXPLAIN_FORECAST function encompasses the ML.FORECAST function because its output is a superset of the results of ML.FORECAST.