其他分享
首页 > 其他分享> > Splitting Time Series Data into Train/Test/Validation Sets

Splitting Time Series Data into Train/Test/Validation Sets

作者:互联网

ime-series (or other intrinsically ordered data) can be problematic for cross-validation. If some pattern emerges in year 3 and stays for years 4-6, then your model can pick up on it, even though it wasn’t part of years 1 & 2.

An approach that’s sometimes more principled for time series is forward chaining, where your procedure would be something like this:

That more accurately models the situation you’ll see at prediction time, where you’ll model on past data and predict on forward-looking data. It also will give you a sense of the dependence of your modeling on data size.

 

 

 

 

 

 

 

 

 

 

 

 

REF

https://machinelearningmastery.com/backtest-machine-learning-models-time-series-forecasting/

https://stats.stackexchange.com/questions/346907/splitting-time-series-data-into-train-test-validation-sets

https://stats.stackexchange.com/questions/117350/how-to-split-dataset-for-time-series-prediction

https://stats.stackexchange.com/questions/453386/working-with-time-series-data-splitting-the-dataset-and-putting-the-model-into

https://stats.stackexchange.com/questions/14099/using-k-fold-cross-validation-for-time-series-model-selection

https://community.dataquest.io/t/how-to-split-time-series-data-into-training-and-test-set/4116/2

标签:training,series,into,time,fold,Sets,Series,test,data
来源: https://www.cnblogs.com/emanlee/p/14456435.html