DTW Barycenter Averaging (DBA)
DTW barycenter averaging builds a representative average of several time series that differ in timing. A plain point-by-point mean blurs peaks that occur at slightly different times; this method instead aligns every series to the current average by dynamic time warping and replaces each average point by the mean of the values aligned to it. Repeating this lowers the average squared warping distance until it settles.
DTW 무게중심 평균은 시점이 서로 어긋난 여러 시계열의 대표 평균을 만드는 방법입니다. 시점별 단순 평균은 조금씩 다른 때에 나타난 봉우리를 뭉개 버리지만, 이 방법은 각 계열을 현재 평균에 동적 시간 와핑으로 맞춘 뒤 평균의 각 점을 그 점에 정렬된 값들의 평균으로 바꿉니다. 이를 되풀이하면 평균 제곱 와핑 거리가 줄어들다 안정됩니다.
What is the typical shape of a set of series whose events happen at different times?
사건이 일어나는 시점이 서로 다른 계열들의 전형적인 모양은 무엇입니까?
The method returns the barycenter series next to the pointwise mean, the warping distance of each series to it, and the decrease in mean squared distance over the iterations.
When to use DTW Barycenter Averaging (DBA)
- You need a prototype curve of gestures, growth curves, daily load profiles or sensor signals.
- Series share a shape but are shifted or stretched in time.
- You want centroids for warping-based clustering or classification.
When to use something else
- You want to group series into clusters: use Time Series Clustering (DTW K-Means)
- You align only two series: use Dynamic Time Warping Alignment
- You look for repeated patterns inside one long series: use Matrix Profile (Motifs and Discords)
Assumptions and requirements
- Series of equal length on comparable scales
- Timing differences are smooth warps rather than missing segments
- Squared pointwise cost
What the analysis reports
- Barycenter series and pointwise mean
- DTW distance of each series to the barycenter
- Inertia by iteration
How to report it
DTW barycenter averaging of [value] series of length [value] converged in [value] iterations to an average with inertia [value], against [value] for the pointwise mean.
Related methods
- Time Series Clustering (DTW K-Means)
- Dynamic Time Warping Alignment
- Matrix Profile (Motifs and Discords)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite at a stated tolerance of 1e-12.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과(허용오차 1e-12).
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 DTW Barycenter Averaging (DBA) on Quorant
- Data you need
- a table (CSV or Excel) with a unit (entity) ID, a time variable and an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.