Closed baniasbaabe closed 1 year ago
Hey @baniasbaabe,
You might want to force it using a bit of Gaussian noise data augmentation. See the FavoritaHierarchicalDataset.load_item_data example: https://github.com/Nixtla/hierarchicalforecast/blob/main/experiments/hierarchical_baselines/nbs/run_favorita_baselines.ipynb
We have specialized hierarchical methods on zero inflated processes here: https://nixtla.github.io/neuralforecast/examples/hierarchicalnetworks.html
The paper of a HINT-related method recently got accepted in the International Journal of Forecasting. Kin G. Olivares, O. Nganba Meetei, Ruijun Ma, Rohan Reddy, Mengfei Cao, Lee Dicker (2023).”Probabilistic Hierarchical Forecasting with Deep Poisson Mixtures”. International Journal Forecasting, accepted paper. URL https://arxiv.org/pdf/2110.13179.pdf.
Many thanks for the fast reply, I will look into it!
What happened + What you expected to happen
Applying
MinTrace
with ares_method
will fail due to the following error:ValueError: Insample residuals close to 0, zero_residual_prc=1.0. Check
Y_df``How can you overcome this? It's probably because some time series has many zeros.
Versions / Dependencies
0.3.0
Reproduction script
Issue Severity
Medium: It is a significant difficulty but I can work around it.