Asked about Data where order carries meaning
Why can you not use ordinary cross-validation on a time series?
An answer that works
It shuffles, so future data ends up in training and past data in validation. Because consecutive points are correlated, the model effectively sees the answer and the score is excellent and meaningless. Use a forward-chaining split instead.
Reading an answer is not being able to give one. The section that teaches this is Data where order carries meaning, 5 hours of Time series.
Learn this properlyAlso asked about Time series
What is the first thing you do on a forecasting problem?How do you build a rolling average feature safely?Would you use a neural network or a classical model for forecasting?Why evaluate at multiple forecast horizons?How would you evaluate a demand forecasting model?You need forecasts for 50,000 products, many with little history. How do you approach it?