You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We fit the models by instantiating a new StatsForecast object with the following parameters: models: a list of models. Select the models you want from models and import them. freq: a string indicating the frequency of the data. (See pandas available frequencies.) n_jobs: n_jobs: int, number of jobs used in the parallel processing, use -1 for all cores. fallback_model: a model to be used if a model fails.
the relevant code is given as:
sf = StatsForecast(
models=models,
freq=1, <-----------
fallback_model = SeasonalNaive(season_length=7),
n_jobs=-1,
)
----It should be freq = 'D'
When using freq=1, I get an error Invalid Freq '1'
Description
In the documentation, it says:
We fit the models by instantiating a new StatsForecast object with the following parameters:
models: a list of models. Select the models you want from models and import them.
freq: a string indicating the frequency of the data. (See pandas available frequencies.)
n_jobs: n_jobs: int, number of jobs used in the parallel processing, use -1 for all cores.
fallback_model: a model to be used if a model fails.
the relevant code is given as:
sf = StatsForecast(
models=models,
freq=1, <-----------
fallback_model = SeasonalNaive(season_length=7),
n_jobs=-1,
)
----It should be freq = 'D'
When using freq=1, I get an error
Invalid Freq '1'
Link
https://nixtlaverse.nixtla.io/statsforecast/docs/getting-started/getting_started_complete.html#explore-data-with-the-plot-method
The text was updated successfully, but these errors were encountered: