Dynamic Time Warping Alignment
Dynamic time warping aligns two sequences by stretching and compressing time to find the warping path with the smallest accumulated distance between them.
동적 시간 와핑은 시간축을 늘이거나 줄여 두 시계열 사이의 누적 거리가 가장 작은 정렬 경로를 찾는 방법입니다.
Two recordings have the same shape but one runs slightly ahead; how similar are they once timing is allowed to flex?
두 기록의 모양은 같은데 하나가 조금 앞서 있어요. 시간 차이를 허용하면 얼마나 비슷한가요?
Dynamic time warping searches over monotone alignments between the two series and returns the cheapest one, so a shift or local speed change does not inflate the distance. A Sakoe-Chiba band limits how far points may be matched apart.
When to use Dynamic Time Warping Alignment
- Shapes matter more than exact timing.
- You compare gestures, speech, sensor or growth curves recorded at uneven pace.
- You need a pairwise distance matrix for later clustering.
When to use something else
- Timing differences are meaningful; use lock-step Euclidean distance or cross-correlation.
- You want to group many series directly; use time series clustering with DTW.
Assumptions and requirements
- Series share a sampling grid (columns of one table).
- Matched points move forward in time on both series.
- Series up to 2,000 points and 20 columns per run.
What the analysis reports
- DTW distance and normalised distance
- Warping path and largest time shift
- Pairwise distance matrix for more than two series
- Alignment plot
How to report it
Dynamic time warping (symmetric2 steps, window [value]) gave a normalised distance of [value] between [series A] and [series B], compared with a lock-step distance of [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Dynamic Time Warping Alignment itself, at the same price.
- Trajectory similarity (Frechet, LCSS, EDR) — similarity set to “frechet, lcss, edr”
Related methods
- Time Series Clustering (DTW K-Means)
- Cross-Correlation Function
- Matrix Profile (Motifs and Discords)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Dynamic Time Warping Alignment on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.