Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Negative MinTrace hangs forever #178

Open
candalfigomoro opened this issue Mar 15, 2023 · 4 comments
Open

Non-Negative MinTrace hangs forever #178

candalfigomoro opened this issue Mar 15, 2023 · 4 comments

Comments

@candalfigomoro
Copy link

Using the same data (unfortunately I can't share it), standard MinTrace performs the reconciliation in about 1 minute, while Non-Negative MinTrace (MinTrace(method="ols", nonnegative=True)) keeps running after hours (basically it hangs forever).

hierarchicalforecast 0.3.0

Do you have any hints on how I could debug the issue? Thanks

@iamyihwa
Copy link

Having similar issue.

@kdgutier
Copy link
Collaborator

kdgutier commented Mar 28, 2023

Hey @iamyihwa and @candalfigomoro,

There is work to be merged that greatly improves the computational efficiency of the MinTrace method.

In between if you are interested in non-negative coherent predictions I suggest you to take a look to the HINT method we recently added to the NeuralForecast library. You can combine non-negative distributions (Poisson, NegativeBinomial, Tweedie, PoissonMixture) and BottomUp or MinTrace (with efficiency improvements) type reconciliations.

@iamyihwa
Copy link

Sure will do Thanks @kdgutier !!!

@candalfigomoro
Copy link
Author

@kdgutier Looks cool!

Unfortunately with my current forecasting problem, reconciliation with MinTrace or BottomUp doesn't seem to work well and the only reconciliation method that seems to work well in my specific case seems to be MiddleOut (lower levels are very intermittent so a top-down method from an intermediate level works better, while a bottom-up method works better for higher levels which are otherwise underestimated by NHITS).

Are there any plans to integrate other reconciliation methods into HINT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants