Hi,
Another issue that I have came across was when I tried to make batch predictions on multiple files (did it through the python interface with model.batch_predict).
To the best of my understanding, As I'm using a forecasting model for each forecast time I need to make a file that includes the labeled target and features for the context "window" and nans for the labels along the features for the forecasting range. For example, at forecast time 2020-01-03, if the context window is 2 hours and the forecast range is 2 hours:
target, id, x, Time
3, 0, 5 2020-01-01
2, 0, 7 2020-01-02
Nan, 0, 7 2020-01-03
Nan, 0, 8. 2020-01-04
(In this example: x is a covariate, id is the timeseries identifier)
I mange to do successfully a batch prediction on a single file like this.
However, when I try to send multiple files (via a list in gcs_source argument in model.batch_predict) I get the validation error:
'There are rows with non-empty target values after this row. The time series has been excluded from predictions.'
No predictions are made.
I would appreciate if you could explain how batch prediction should be done in a timeseries forecasting model for multiple times and multiple forecast ranges.
Thanks,
Maayan