Icon

Rolling Time Series Predictions

This workflow demonstrates how a recursive loop can be used to do rolling predictions, i.e. use some existing data to bootstrap the prediction and then use the predicted values themselves as features for the prediction of the next point in time.

Annotations and comments
  • Train a simple model
  • Prepare some example data
  • Only date and target
  • Old data and new row
  • 200 days
  • Lag target 10 days
  • random target
  • Learn model
  • No target
  • +1 day
  • Last date
  • Lag 10 days
  • Index of 10th row from the back
  • Only 11th column
  • Only ten last rows
  • Collect only predictions, pass back last 10 rows
  • Predict target
  • Last 10 rows
  • We don't need the first row anymore

Nodes

Extensions

Links