-
Notifications
You must be signed in to change notification settings - Fork 483
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
Some problems in make_future_dataframe #1613
Comments
It seems to be related to regressors_df, when I delete some columns, I can predict normally。 |
This does sound like a bug, or possibly a corner case that should fail with a more explicit error message. @potoyeee Please help us by sharing a minimal piece of code that we need to reproduce the error. Thank you! |
@ourownstory Hi! I have same error with future regressors, and other but similar error with past exogs.
|
@ourownstory 1)problem only with 1h, 4h or higher frequency when rows are more than 5-10k. with <1h everything is ok 2)also in some situations I get the error 'mat1 and mat2 shapes cannot be multiplied' when using more than 1 past covariate (add_lagged_regressor), for example when i have 3243 rows and freq 4h and n_lags=7 * forecast_horizon, it always depends on the specific value of the number of rows and the forecasting horizon 3)strange things often happen - in the same situation as 2, everything is fine until you make a prediction on the data in which there is at least one point from the training set, then the model breaks down and gives an error 'mat1 and mat2 shapes cannot be multiplied' in any case to reproduce 2 and 3 u should make 30-40 exogs and delete future regressors |
Hello, I have encountered an error and would like you to answer it.
In my exp, set n_lags=96, add some lagged_regressor, and add some future_regressor.
In predict, set n_forecasts=10 (to predict next 10 steps).
future = m.make_future_dataframe( df_train, regressors_df=future_wh, periods=10, n_historic_predictions=False, ) forecast = m.predict(future)
But there was a dimensional error “RuntimeError: The size of tensor a (2) must match the size of tensor b (3) at non-singleton dimension 3”
If I add 1 or 2 future regressor,It can predict next 10 steps. But add other numbers future regressor, will have the dimensional error
The text was updated successfully, but these errors were encountered: