You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It seems that the number of splits calculation ignores the initial_window. In ForecastingGridSearchCV since the window data gets appended to the initial_window, the number of splits should be far less than the one reported in the example below
Describe the bug
It seems that the number of splits calculation ignores the
initial_window
. InForecastingGridSearchCV
since the window data gets appended to theinitial_window
, the number of splits should be far less than the one reported in the example belowTo Reproduce
Expected behavior
With an internal window length of 10 being used, I would have expected the following
Number of folds
= len(validation data) - window_length
= len(y_train) - initial_window - window_length
= 132 - 66 - 10
= 56 folds (expected) but output shows 122 folds.
Below image is for illustration only (does not match the exact number of points in this example)
Versions
Python dependencies:
pip: 20.3.3
setuptools: 51.0.0.post20201207
sklearn: 0.24.0
sktime: 0.5.1
statsmodels: 0.12.1
numpy: 1.19.4
scipy: 1.5.4
Cython: 0.29.17
pandas: 1.1.5
matplotlib: 3.3.3
joblib: 1.0.0
numba: 0.52.0
pmdarima: 1.8.0
tsfresh: 0.17.0
The text was updated successfully, but these errors were encountered: