Two-dimensional dynamic time warping algorithm for matrices similarity
Authors:
- 11 July 2022
- journal article
- research article
- Published by SAGE Publications in Intelligent Data Analysis: An International Journal
- Vol. 26 (4) , 859-871
Abstract
Dynamic Time Warping (DTW algorithm) provides an effective method to obtain the similarity between unequal-sized signals. However, it cannot directly deal with high-dimensional samples such as matrices. Expanding a matrix to one dimensional vector as the input data of DTW will decrease the measure accuracy because of the losing of position information in the matrix. Aiming at this problem, a two-dimensional dynamic time warping algorithm (2D-DTW) is proposed in this paper to directly measure the similarity between matrices. In 2D-DTW algorithm, a three dimensional distance-cuboid is constructed, and its mapped distance matrix is defined by cutting and compressing the distance-cuboid. By introducing the dynamic programming theory to search the shortest warping path in the mapped matrix, the corresponding shortest distance can be obtained as the expected similarity measure. The experimental results suggest that the performance of 2D-DTW distance is superior to the traditional Euclidean distance and can improve the similarity accuracy between matrices by introducing the warping alignment mechanisms. 2D-DTW algorithm extends the application ranges of traditional DTW and is especially suitable for high-dimensional data.Keywords
This publication has 8 references indexed in Scilit:
- Adaptively constrained dynamic time warping for time series classification and clusteringInformation Sciences, 2020
- shapeDTW: Shape Dynamic Time WarpingPattern Recognition, 2018
- An Initialization Method Based on Hybrid Distance for k-Means AlgorithmNeural Computation, 2017
- CIFAR10-DVS: An Event-Stream Dataset for Object ClassificationFrontiers in Neuroscience, 2017
- PLIS: Proposed Language Independent Stemmer for Information Retrieval Systems Using Dynamic Programming2017
- DTW-based kernel and rank-level fusion for 3D gait recognition using KinectThe Visual Computer, 2015
- Weighted dynamic time warping for time series classificationPattern Recognition, 2011
- Exact indexing of dynamic time warpingKnowledge and Information Systems, 2005