I would love to see the implementation of walk-forward testing.
A rolling-forecast scenario also called walk-forward model validation is the recommended method (gold standard) for constructing machine learning models dedicated to time-series data. Walk-forward validation provides the most realistic evaluation of machine learning models since k-fold cross validation does not work for time series data.
Each time step of the test dataset is walked one at a time. A model is used to make a forecast for the time step, then the actual expected value from the test set is taken and made available to the model for the forecast on the next time step.
I would love to see the implementation of walk-forward testing.
A rolling-forecast scenario also called walk-forward model validation is the recommended method (gold standard) for constructing machine learning models dedicated to time-series data. Walk-forward validation provides the most realistic evaluation of machine learning models since k-fold cross validation does not work for time series data.
Each time step of the test dataset is walked one at a time. A model is used to make a forecast for the time step, then the actual expected value from the test set is taken and made available to the model for the forecast on the next time step.
For more info, see code examples (1, 2) or research paper.