You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I walked through the tutorial and it doesn't produce columns that are labeled as HINT when fitting then predicting.
Therefore, when you get to the step to plot it errors out.
However, when I follow the two test cases in the source code which uses nf.cross_validation() it does produce HINT columns.
These HINT predictions are reconciled with sums that are the same across hierarchy levels and combinations. https://github.com/Nixtla/neuralforecast/blob/main/nbs/models.hint.ipynb
I get properly reconciled forecasts using fit then predict with the HINT column produced.
breadwall
changed the title
HINT Predictions Not Created with model.fit() and model.predict() but with nf.cross_validation()
HINT Predictions Not Created with nf.fit() and nf.predict() but with nf.cross_validation()
Aug 26, 2024
What happened + What you expected to happen
I walked through the tutorial and it doesn't produce columns that are labeled as HINT when fitting then predicting.
Therefore, when you get to the step to plot it errors out.
Additionally, since they're not HINT predictions but the model chosen (NHITS or TFT), they are not reconciled together.
https://nixtlaverse.nixtla.io/neuralforecast/docs/tutorials/hierarchical_forecasting.html
or
https://github.com/Nixtla/neuralforecast/blob/main/nbs/docs/tutorials/09_hierarchical_forecasting.ipynb
However, when I follow the two test cases in the source code which uses nf.cross_validation() it does produce HINT columns.
These HINT predictions are reconciled with sums that are the same across hierarchy levels and combinations.
https://github.com/Nixtla/neuralforecast/blob/main/nbs/models.hint.ipynb
Versions / Dependencies
neuralforecast==1.7.4
python 3.10.7
Reproduction script
Using Code from https://github.com/Nixtla/neuralforecast/blob/main/nbs/models.hint.ipynb
Issue Severity
Medium:
The text was updated successfully, but these errors were encountered: