Time series Timeseries Deep Learning Machine Learning Python Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai
When function get_forecasting_splits is used with the argument unique_id_cols, the computation for the split indices is wrong. The function only substracts fcst_history - 1 from the data frame indices, which is incorrect since this can accumulate when several ids are present.
See the attached code for a minimal example and a proposition on how to solve it.
When function
get_forecasting_splits
is used with the argumentunique_id_cols
, the computation for the split indices is wrong. The function only substractsfcst_history - 1
from the data frame indices, which is incorrect since this can accumulate when several ids are present.See the attached code for a minimal example and a proposition on how to solve it.
bug_report_indices.txt
Edit: changed the zip file to a txt file