Skip to content
Preptima

Time Series & Forecasting interview questions

Stationarity and seasonality, backtesting without lookahead, horizon and hierarchy, and why a random split ruins a forecasting model.

3 questions in Machine Learning.

medium2

mediumConceptScenario

Why does a random train-test split ruin a forecasting model?

Because it puts future observations in the training set, so the model is scored on interpolating between points it has already seen rather than on predicting forward. The correct evaluation is a rolling-origin backtest, and every feature must be computable from data available strictly before the timestamp it describes.

4 minentry, mid, senior, staff

hard1