Journal of Statistical Software · 2021 · 17 citations · 22 references
ComputingComputer ScienceData ScienceData MiningSequence AnalysisTime Series AnalysisComputational Time Series AnalysisDynamic Time WarpingSequence Pattern RecognitionTemporal Data MiningTime Series ClassificationTime Series ClusteringActivity RecognitionDistance MatricesDistance-based ClassificationK-nearest Neighbor SearchMultivariate Dynamic Time WarpingPairwise Distance EstimationRuntime OptimizationTime Warping
Dynamic time warping (DTW) is a popular distance measure for time series analysis and has been applied in many research domains. This paper proposes the R package IncDTW for the incremental calculation of DTW, and based on this principle IncDTW also helps to classify or cluster time series, or perform subsequence matching and k-nearest neighbor search. DTW can measure dissimilarity between two temporal sequences which may vary in speed, with a major downside of high computational costs. Especially for analyzing live data streams, subsequence matching or calculating pairwise distance matrices, runtime intensive computations are unfavorable or can even make the analysis intractable. IncDTW tackles this problem by a vector-based implementation of the DTW algorithm to reduce the space complexity from a quadratic to a linear level in number of observations, and an incremental calculation of DTW for updating interim results to reduce the runtime complexity for online applications. We discuss the fundamental functionalities of IncDTW and apply the package to classify multivariate live stream accelerometer time series for activity recognition. Finally, comparative runtime experiments with various R and Python packages for various data analysis tasks emphasize the broad applicability of IncDTW.
22
R: A Language and Environment for Statistical Computing
R Core Team · 2000 · 353K citations · Full text
Natural Sciences, Computer Science, Statistical Computing +10
UCI Machine Learning Repository
Arthur Asuncion · Medical Entomology and Zoology · 2007 · 24.4K citations
Querying and mining of time series data
Hui Ding, Goce Trajcevski, Peter Scheuermann et al. · Proceedings of the VLDB Endowment · 2008 · 1.3K citations