Machine Don

What is lag feature?

A column built from past values of the very thing you want to predict: yesterday's, last week's. The past becomes a clue to the future.

Also called: lag features, lag, lags, lagged variable.

An analogy

To guess tomorrow's sales, a shop owner writes down, next to each day, how much came in the day before and on the same day last week.

Where it shows up in the course

Related terms