Esc
Ask AIAnswers may be inaccurate; check the linked pages.Esc
Ask anything about these docs, like how to get started or what a function does.

lagllama_freq

Frequency strings for Lag-Llama / GluonTS (no torch imports — safe for lightweight tests).

normalize_freq_for_lagllama(freq)

Map pipeline / pandas-2.2 freq aliases to strings GluonTS + pandas accept.

Multivariate tasks often carry ME / QE / YE from metadata; GluonTS 0.14 raises KeyError / invalid frequency for those aliases. Normalize to legacy M / Q / Y / AS first, then hour/minute/second spellings for pandas.

Parameter Type Default Description
freq str - (undocumented)

Returns: str (The normalized frequency string.)