IncDTW-package {IncDTW} | R Documentation |
Incremental Dynamic Time Warping
Description
The Dynamic Time Warping (DTW) distance for time series allows non-linear alignments of time series to match similar patterns in time series of different lengths and or different speeds. Beside the traditional implementation of the DTW algorithm, the specialties of this package are, (1) the incremental calculation, which is specifically useful for life data streams due to computationally efficiency, (2) the vector based implementation of the traditional DTW algorithm which is faster because no matrices are allocated and is especially useful for computing distance matrices of pairwise DTW distances for many time series and (3) the combination of incremental and vector-based calculation.
Details
Main features:
-
Detect k-nearest subsequences in longer time series,
rundtw
-
Matrix-based
dtw
and Vector-baseddtw2vec
implementation of the DTW algorithm -
Sakoe Chiba warping window
-
Early abandoning and lower bounding
-
Support for multivariate time series
-
Fast calculation of a distance matrix of pairwise DTW distances for clustering or classification of many multivariate time series,
dtw_dismat
-
Aggregate cluster members with
dba
or get the centroid withcentroid
-
C++ in the heart thanks to Rcpp
Author(s)
Maximilian Leodolter
Maintainer: Maximilian Leodolter <maximilian.leodolter@gmail.com>
References
Leodolter, M.; Pland, C.; Brändle, N; IncDTW: An R Package for Incremental Calculation of Dynamic Time Warping. Journal of Statistical Software, 99(9), 1-23. doi: 10.18637/jss.v099.i09
Sakoe, H.; Chiba, S., Dynamic programming algorithm optimization for spoken word recognition, Acoustics, Speech, and Signal Processing [see also IEEE Transactions on Signal Processing], IEEE Transactions on , vol.26, no.1, pp. 43-49, Feb 1978. http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1163055
See Also
https://ieeexplore.ieee.org/document/1163055/
https://en.wikipedia.org/wiki/Dynamic_time_warping