I'm currently working with some time series data and I'm using TimeSeriesSplit in order to split my data set into a forward chaining cross validation splits.
So if i have 100 data points - And I divide into 3 splits. 1. I train on 1-25. Test on 26-50. 2. Train on 1-50. Test on 51-75. 3. Train on 1-75. Test on 76-100.
Call this an expanding window example.
I'm wondering if there is a way to slide the training window forward every time i train so it's not starting from 0. I'm trying to achieve the sliding window scenario similar to the diagram
