Abstract
Dynamic time warping (DTW), which finds the minimum path by providing non-linear alignments between two time series, has been widely used as a distance measure for time series classification and clustering. However, DTW does not account for the relative importance regarding the phase difference between a reference point and a testing point. This may lead to misclassification especially in applications where the shape similarity between two sequences is a major consideration for an accurate recognition. Therefore, we propose a novel distance measure, called a weighted DTW (WDTW), which is a penalty-based DTW. Our approach penalizes points with higher phase difference between a reference point and a testing point in order to prevent minimum distance distortion caused by outliers. The rationale underlying the proposed distance measure is demonstrated with some illustrative examples. A new weight function, called the modified logistic weight function (MLWF), is also proposed to systematically assign weights as a function of the phase difference between a reference point and a testing point. By applying different weights to adjacent points, the proposed algorithm can enhance the detection of similarity between two time series. We show that some popular distance measures such as DTW and Euclidean distance are special cases of our proposed WDTW measure. We extend the proposed idea to other variants of DTW such as derivative dynamic time warping (DDTW) and propose the weighted version of DDTW. We have compared the performances of our proposed procedures with other popular approaches using public data sets available through the UCR Time Series Data Mining Archive for both time series classification and clustering problems. The experimental results indicate that the proposed approaches can achieve improved accuracy for time series classification and clustering problems.
Original language | English |
---|---|
Pages (from-to) | 2231-2240 |
Number of pages | 10 |
Journal | Pattern Recognition |
Volume | 44 |
Issue number | 9 |
DOIs | |
State | Published - Sep 2011 |
Funding
The authors acknowledge the support of Dr. Eamonn Keogh in providing us the experimental data set. Also, the authors would like to thank the anonymous reviewers for their valuable comments that improved our paper dramatically. The part of this work was supported by the National Science Foundation (NSF) Grant no. CMMI-0853894 . Dr. Olufemi A. Omitaomu acts in his own independent capacity and not on behalf of UT-Battelle, LLC, or its affiliates or successors.
Funders | Funder number |
---|---|
National Science Foundation |
Keywords
- Adaptive weights
- Dynamic time warping
- Modified logistic weight function
- Time series classification
- Time series clustering
- Weighted dynamic time warping