InterviewSolution
Saved Bookmarks
| 1. |
We have time series data provided to us. What cross-validation techniques are to be followed? |
|
Answer» For time SERIES datasets, k fold can be troublesome because there might be some pattern in year 4 or 5 which is not in year 3. Resampling the dataset will separate these trends, and we might end up validation on past YEARS, which is incorrect. Instead, we can use forward chaining strategy with 5 fold cross validation as shown below:
For this, the assumption is to have 6 years of historical DATA available. |
|