AI engineering glossary · Time series recsys

What is differencing?

Differencing: Replacing each value by its change from the previous value, y_t - y_(t-1), to remove a trend and help make a series stationary. Applying it again gives the second difference. Over-differencing adds unwanted noise.

Level: intermediateTopic: Time series recsys

Differencing: an example

Sales 100, 104, 109, 115 become changes 4, 5, 6 after one difference.

Related terms

More Time series recsys terms

Where you learn it

Differencing is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.