Before and after arguments#
The before and after Span arguments determine how much data is included in the
Data (given by before) and Future data (given by after) ranges of each fold.
Argument type |
Interpretation |
Example |
|---|---|---|
String |
Include all data before/after the scheduled time. Similar to sklearn.model_selection.TimeSeriesSplit(max_train_size=None) |
|
String |
Used to discard datasets. Sets the edge equal the the midpoint, e.g. |
|
|
Include all data within N schedule periods from the scheduled time. |
Removing folds with n_splits. Schedule-based before and after-data. |
Anything else |
Passed as-is to the |
See also
The Examples page.