How to utilize the HierarchicalForecast reconciling- algorithm when having a "ragged hierarchy" / "unbalanced hierarchy". #271
theforecastnoob
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering how to utilize Nixtla's hierarchical forecasting library when using an unbalanced hierarchy, for example, see added image, when we have varying lower levels for some products.
One idea I had was to separate the hierarchy into sub-hierarchies, e.g., start with reconciling the lowest parent node: Chocolate Milk & its lower levels, then use the reconciled Chocolate milk for it's parent node Flavored Milk, and so on, until I'm at the top level.
Seems kinda slow to do this way, and I know the hts (R) library can handle this situation, but I want to do this in Python.
Would appreciate your thoughts about this problem! :)
Beta Was this translation helpful? Give feedback.
All reactions