> ## Documentation Index
> Fetch the complete documentation index at: https://kumo.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# year_over_year

#### `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.

<CodeGroup>
  ```Text PQL theme={null}
  PREDICT SUM(TRANSACTIONS.AMOUNT, 0, 7, days)
  FOR EACH CUSTOMERS.CUSTOMER_ID
  ```
</CodeGroup>

<Warning>
  Experimental Feature
</Warning>
