WorkerB
12/28/2022, 2:22 AMWorkerB
12/28/2022, 2:22 AMWorkerB
12/28/2022, 3:45 PMWorkerB
12/28/2022, 5:32 PMWorkerB
12/29/2022, 12:36 AMnew_data
argument to predict
method (allow transferability)WorkerB
01/05/2023, 1:02 AMWorkerB
01/27/2023, 3:01 PMvalid_loss
possibilitiesWorkerB
02/02/2023, 9:34 PMWorkerB
02/03/2023, 3:11 AMWorkerB
02/03/2023, 11:58 PMWorkerB
02/21/2023, 5:41 PMWorkerB
02/28/2023, 6:03 AMWorkerB
07/05/2023, 11:54 AMWorkerB
07/05/2023, 11:54 AMWorkerB
07/05/2023, 11:54 AMJeff Tackes
07/17/2023, 1:44 PMSimon Weppe
07/20/2023, 4:05 AMmlforecast
, statsforecast
and neuralforecast
can interact (or not?). From what I understand, mlforecast
allows to train and apply any models from sklearn as well as lightgbm/xgboost. Is it possible to also use models from statsforecast
(e.g. AutoARIMA) or from neuralforecast
(e.g. NBEATS) ?Slackbot
07/20/2023, 4:06 AMSimon Weppe
07/20/2023, 4:06 AMSlackbot
07/21/2023, 2:16 PMPhil
08/19/2023, 4:39 AMDeepanjan Datta
09/24/2023, 4:29 PMManuel
10/03/2023, 8:50 PMAngelica Da Silva
10/13/2023, 3:58 PMRodrigo Sodré
07/07/2024, 8:07 PMRicardo Barros Lourenço
12/04/2024, 5:45 PMMaro
02/05/2025, 6:45 AMDANIEL KIM
02/07/2025, 10:05 PM# Monthly dataset:
df = df[['unique_id', 'ds', 'y']]
seasonality = 12
models = [
AutoETS(model = 'ZZZ', season_length = seasonality),
DynamicOptimizedTheta(season_length = seasonality),
AutoCES(season_length = seasonality),
AutoARIMA(season_length = seasonality)
]
# Instantiate StatsForecast class
sf = StatsForecast(
df = d_new,
models = models,
freq = 'MS',
n_jobs = -1,
fallback_model = SeasonalNaive(season_length = seasonality)
)
sf.fit()
d_sf = sf.predict(h=24)
model_cols = [c for c in d_sf.columns if c != 'ds']
d_sf['yhat'] = d_sf[model_cols].clip(0).median(axis=1, numeric_only=True)
Hadar Sharvit
02/24/2025, 6:28 PMDANIEL KIM
03/13/2025, 8:08 PM