Why does out-of-bag error fail as an evaluation metric on time-series data?
Last updated
Bootstrapping ignores time, so each OOB row is surrounded by correlated in-bag neighbors from past and future, letting trees interpolate it.
This adds look-ahead bias and ignores drift, so OOB is badly optimistic versus real forward forecasting (worsened by forests' inability to extrapolate).
Use chronological holdout or walk-forward validation (
TimeSeriesSplit) with a gap between train and test windows.