statsforecast icon indicating copy to clipboard operation
statsforecast copied to clipboard

[Models] Add possibility to ensemble different models

Open AzulGarza opened this issue 2 years ago • 2 comments

Description

Often, some pipelines require the ensembling of different statistical models. We can accomplish this by introducing a new module in the library named statsforecast/ensembles.py, which contains various methods for ensembling models. The general implementation might look something like this:

from statsforecast.ensembles import FFORMA, MedianEnsemble

sf = StatsForecast(
     models=[FFORMA(AutoARIMA(), AutoETS()), MedianEnsemble(Naive(), SeasonalNaive())]
)

Ideally, the output dataframe should include the forecasts from individual models as well as the ensemble method's forecast.

Use case

No response

AzulGarza avatar Jun 09 '23 00:06 AzulGarza

Hi @AzulGarza, have we implemented above ensemble model in NIXTLA ?

hberande avatar Aug 27 '24 10:08 hberande

Hi @AzulGarza . It seems to be a really interesting solution. Are there any plans to implement it in the short term?

anthonygiorgio97 avatar Sep 03 '24 13:09 anthonygiorgio97