https://github.com/nixtla logo
#general
Title
# general
i

Isaac

05/11/2023, 3:12 PM
How does the hierarchicalforecast package (+ statsforecast) handle multiple TS that don't have the same dates? I notice that
aggregate
adds leading, but do those zeros affect the statsforecast models? For instance if one TS started in January 2019 and other started in April 2019, the 2nd TS would have zeros added after using
aggregate
, but do those zeros affect model performance?
f

fede (nixtla) (they/them)

05/11/2023, 8:10 PM
hey @Isaac! If I understand correctly, after applying
aggregate
the 2nd ts has zero values from January 2019 to April 2019? I think this is an unexpected behavior; those zeros will probably negatively impact the model’s performance. Could you help us open an issue on the github repo to investigate the problem? Here’s the link: https://github.com/Nixtla/hierarchicalforecast/issues/new Thank you!
👍 1
i

Isaac

05/11/2023, 8:50 PM
Yes. And if you try and remove the zero's, you're unable to reconcile, because there's a shape issue with the fitted dataset
f

fede (nixtla) (they/them)

05/11/2023, 11:35 PM
thank you @Isaac! We’ve opened a PR fixing the issue (https://github.com/Nixtla/hierarchicalforecast/pull/190). We will merge it into the main branch and publish a new version soon. In the meantime, you can test the changes installing from that branch:
pip install git+<https://github.com/nixtla/hierarchicalforecast.git@189-aggregate-adds-leading-zeros-to-series-with-different-dates>
. Please let us know if this helps or if something else needs to be clarified. :)
i

Isaac

05/12/2023, 12:07 AM
Cool cool, I'll take a look. Did you test whether
reconcile
still works as expected?
aggregate
works as expected! But
reconcile
fails. I added a reproducible example to my github issue.
f

fede (nixtla) (they/them)

05/17/2023, 8:32 PM
Hey @Isaac! Thanks for letting us know about the problem, we’ll be working on it 🙂
i

Isaac

05/18/2023, 1:22 PM
Good to know. Let me know if I can help 🙂
@fede (nixtla) (they/them) when do you think you'll push the fixes?
@fede (nixtla) (they/them) any update?
f

fede (nixtla) (they/them)

06/06/2023, 5:19 PM
hey @Isaac! We’ve pushed the fixes into the main branch. We will release a new version in the following days :)
i

Isaac

06/06/2023, 5:23 PM
Woohoo! Excited to try it out. I also saw the conformal predictions in statsforecast coming out soon 👀
f

fede (nixtla) (they/them)

06/06/2023, 7:27 PM
Nice! Feel free to let us know if something breaks or if you need any help. Yeah! We are excited about conformal prediction in stats, we have to finish some details, but in the next weeks should be released 🎉
i

Isaac

07/06/2023, 2:49 PM
Any update on when the new hierarchicalforecast package will be released?