Skip to main content

year_over_year: <boolean> (Optional, default=False)

Description

For forecasting problems, incorporate year-over-year (YoY) features as additional inputs.
When enabled, the model includes the target value from the same period in the previous year (e.g., 364 days earlier for daily windows) as an auto-regressive signal to help capture seasonal patterns.

Supported Task Types

  • Forecasting

Example

For the following query, setting year_over_year=True will include the label from the equivalent 7-day window one year ago as an input feature.
PREDICT SUM(TRANSACTIONS.AMOUNT, 0, 7, days)
FOR EACH CUSTOMERS.CUSTOMER_ID
Experimental Feature