News for hackers. Stuff that matters.
Re:Darts: A Python library for easy manipulation and forecas... by kachnuv_ocasek on Thursday August 12, 2021 @10:08AM (#28156560)
Do you have any plans to implement some sort of model averaging or stacking? I believe it would bring great benefits to this landscape to have a working implementation of hierarchical stacking across various backends wrapped in a Python library.
Re:Darts: A Python library for easy manipulation and forecas... by hrzn on Thursday August 12, 2021 @10:19AM (#28156692)
We do have ensemble models. Something like

    model = NaiveEnsembleModel([model1, model2, ...])
    model.fit(my_series)
    prediction = model.predict()
Will return an average prediction. Look at RegressionEnsembleModel for an ensemble model which uses a regression model to learn how to combine the individual forecasts.

At the moment Darts doesn't have hierarchical reconciliation methods (if that's what you meant), but it's on the backlog :)

Re:Darts: A Python library for easy manipulation and forecas... by nerdponx on Thursday August 12, 2021 @10:47AM (#28156993)
FYI, Hacker News has code formatting if you indent by 4 spaces:

    model = NaiveEnsembleModel([model1, model2, ...])
    model.fit(my_series)
    prediction = model.predict()
Re:Darts: A Python library for easy manipulation and forecas... by hrzn on Thursday August 12, 2021 @11:10AM (#28157305)
Oh, nice, I didn't know that. I've edited my reply, thanks!