AI engineering glossary · Time series recsys

What is DTW (dynamic time warping)?

Dynamic time warping (also called DTW): A method for measuring similarity between two sequences that may run at different speeds, by finding the alignment that stretches or compresses time to minimise the total difference. It is used for matching patterns in signals and speech.

Level: advancedTopic: Time series recsys

Dynamic time warping: an example

Two recordings of the same word, one spoken slowly, still match well under it.

Related terms

More Time series recsys terms

Where you learn it

Dynamic time warping 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.