-
Notifications
You must be signed in to change notification settings - Fork 39
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
[BUG] Error when forecasting with exogenous regressors for each of the nodes #80
Comments
I've also tried the same using the |
Line 64 in b9615b1
I guess we are passing the entire exogenous data frame every time to the Updating the code like this |
Hello, I'm facing the same problem here (see my post on [SO])(https://stackoverflow.com/questions/68939597/grouped-time-series-forecasting-with-scikit-hts). @aakashparsi : I implemented the fix you propose but ended up with negative forecasts. Have you encountered the same problem ? Thanks in advance for the fix ! |
@Downfor-u To fix negative forecasts, you could try square root transformation. |
Describe the bug
When I'm passing a different exogenous regressor for each of the nodes in the hierarchy. I'm getting an error related to the shape of the data frame.
To Reproduce
I have a three-level hierarchy tree just like
load_mobility_data()
but the columns have one external regressor each. I'm passing the data along with the regressors but still, I'm getting an error during thepredict()
method.Here's the stack trace for the same.
Expected behavior
Since the scikit-hts documentation clearly mentions that we have to pass a data frame containing the exogenous data for each of the nodes. So, this should not happen.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: