smooth.ES.lags_used

property ES.lags_used: List[int]

Return the vector of lags used in the model.

Returns:

List of lag values (seasonal periods) used in the model. For example, [1, 12] for monthly data with annual seasonality.

Return type:

List[int]

Raises:

ValueError – If the model has not been fitted yet.

Examples

>>> model = ADAM(model="AAA", lags=[1, 12])
>>> model.fit(y)
>>> model.lags_used  # [1, 12]