When would you frame forecasting as tabular regression instead of an autoregressive time series model?
Quick Overview
Asks when a forecasting problem is better framed as tabular supervised regression on lag and calendar features than as an autoregressive time series model such as ARIMA or ETS. Tests judgment about data shape, covariates, multi-step horizons, leakage and time-based validation.
When would you frame forecasting as tabular regression instead of an autoregressive time series model?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
When would you frame a forecasting problem as tabular supervised regression instead of using an autoregressive time series model?
In the tabular framing, each row is a point in time with features such as lagged values, calendar fields and covariates, and a general regressor (for example, gradient boosting) predicts the target. An autoregressive model such as ARIMA or ETS models the series from its own past values.
```hint Look at the data shape
Count the series and the covariates. How many related series do you have, and how much of the signal comes from outside each series' own history?
```
```hint Think about the horizon
Consider how each approach produces a forecast several steps ahead, and which feature values actually exist at the moment you make the forecast.
```
### What a Strong Answer Covers
- How exogenous covariates and the number of related series affect the choice
- How each approach produces multi-step forecasts and where errors compound
- What tree-based models do on trending data and how to work around it
- Which features are valid at forecast time in the tabular framing (leakage)
- How to validate a forecasting model
### Follow-up Questions
- How would you build a direct 28-day forecast with gradient boosting, and how does it compare with recursive forecasting?
- How would you get prediction intervals from a gradient boosted forecasting model?
- In a global model trained on thousands of products, how would you forecast a product launched last week?
- When would you combine the two approaches, and how?
Overview: Asks when a forecasting problem is better framed as tabular supervised regression on lag and calendar features than as an autoregressive time series model such as ARIMA or ETS. Tests judgment about data shape, covariates, multi-step horizons, leakage and time-based validation.
When would you frame a forecasting problem as tabular supervised regression instead of using an autoregressive time series model?
In the tabular framing, each row is a point in time with features such as lagged values, calendar fields and covariates, and a general regressor (for example, gradient boosting) predicts the target. An autoregressive model such as ARIMA or ETS models the series from its own past values.
What a Strong Answer Covers Guidance
How exogenous covariates and the number of related series affect the choice
How each approach produces multi-step forecasts and where errors compound
What tree-based models do on trending data and how to work around it
Which features are valid at forecast time in the tabular framing (leakage)
How to validate a forecasting model
Follow-up Questions Guidance
How would you build a direct 28-day forecast with gradient boosting, and how does it compare with recursive forecasting?
How would you get prediction intervals from a gradient boosted forecasting model?
In a global model trained on thousands of products, how would you forecast a product launched last week?
When would you combine the two approaches, and how?