Time-Series Clustering in R Using the dtwclust Package
Open accessThe DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
Most clustering strategies have not changed considerably since their initial definition.The common improvements are either related to the distance measure used to assess dissimilarity, or the function used to calculate prototypes.Time-series clustering is no exception, with the Dynamic Time Warping distance being particularly popular in that context.This distance is computationally expensive, so many related optimizations have been developed over the years.Since no single clustering algorithm can be said to perform best on all datasets, different strategies must be tested and compared, so a common infrastructure can be advantageous.In this manuscript, a general overview of shape-based time-series clustering is given, including many specifics related to Dynamic Time Warping and associated techniques.At the same time, a description of the dtwclust package for the R statistical software is provided, showcasing how it can be used to evaluate many different time-series clustering procedures.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
UCI Machine Learning Repository
Asuncion, A. (2007) · Medical Entomology and Zoology · Cited by 25,416
Dynamic Programming Algorithm Optimization for Spoken Word Recognition
Sakoe, H., & Chiba, S. (1978) · IEEE Transactions on Acoustics Speech and Signal Processing · doi:10.1109/tassp.1978.1163055 · Cited by 6,727 · cited 2×
“, Giorgino (2009)), but one of the most common ones is the Sakoe-Chiba window (Sakoe and Chiba, 1978), with which an allowed region is created along the diagonal of the LCM (see Figure 3).”
BackgroundFinding Groups in Data: An Introduction to Cluster Analysis.
Sarle, W. S., Kaufman, L., & Rousseeuw, P. J. (1991) · Journal of the American Statistical Association · doi:10.2307/2290430 · Cited by 3,539
(1994) · Knowledge Discovery and Data Mining · Cited by 3,137
Clustering of time series data—a survey
Warren Liao, T. (2005) · Pattern Recognition · doi:10.1016/j.patcog.2005.01.025 · Cited by 2,401 · cited 3×
“In many cases, algorithms developed for time-series clustering take static clustering algorithms and either modify the similarity definition, or the prototype extraction function to an appropriate one, or apply a transformation to the series so that static features are obtained (Liao, 2005).”
MethodExact indexing of dynamic time warping
Keogh, E., & Ratanamahatana, C. A. (2005) · Knowledge and Information Systems · doi:10.1007/s10115-004-0154-9 · Cited by 1,962 · cited 8×
“The algorithm first uses the DTW distance’s upper and lower bounds (Euclidean distance and LB_Keogh respectively) to find series with many close neighbors (in DTW space).”
MethodInfluentialTime-series clustering – A decade review
Aghabozorgi, S., Seyed Shirkhorshidi, A., & Ying Wah, T. (2015) · Information Systems · doi:10.1016/j.is.2015.04.007 · Cited by 1,826 · cited 9×
“The most common approaches are hierarchical and partitional clustering (cf. Table 4 in Aghabozorgi et al. (2015)), the latter of which includes fuzzy clustering.”
BackgroundMethodInfluentialAn extensive comparative study of cluster validity indices
Arbelaitz, O., Gurrutxaga, I., Muguerza, J., Pérez, J. M., & Perona, I. (2013) · Pattern Recognition · doi:10.1016/j.patcog.2012.07.021 · Cited by 1,383 · cited 2×
“Several of the best-performing CVIs according to Wang and Zhang (2007), Arbelaitz et al. (2013), and Lei et al. (2017) are implemented in dtwclust in the cvi function.”
BackgroundMethodComputing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package
Giorgino, T. (2009) · Journal of Statistical Software · doi:10.18637/jss.v031.i07 · Cited by 1,254 · cited 6×
“Strictly speaking, if the series being compared have different lengths, a constrained path may not exist, since the Sakoe-Chiba band may prevent the end point of the LCM to be reached (Giorgino, 2009).”
BackgroundMethodInfluentialA global averaging method for dynamic time warping, with applications to clustering
Petitjean, F., Ketterlin, A., & Gançarski, P. (2011) · Pattern Recognition · doi:10.1016/j.patcog.2010.09.013 · Cited by 1,138 · cited 1×
“The DTW distance is used very often when working with time-series, and thus a prototyping function based on DTW has also been developed in Petitjean et al. (2011).”
Method
Cited by
Liu, X., Ding, Y., Tang, H., & Xiao, F. (2021) · Energy and Buildings · doi:10.1016/j.enbuild.2020.110601 · Cited by 183
A selection pressure landscape for 870 human polygenic traits
Song, W., Shi, Y., Wang, W., Pan, W., Qian, W., Yu, S., Zhao, M., & Lin, G. N. (2021) · Nature Human Behaviour · doi:10.1038/s41562-021-01231-4 · Cited by 25
Giangreco, N. P., & Tatonetti, N. P. (2022) · Med · doi:10.1016/j.medj.2022.06.001 · Cited by 16
Kuch, A., Schweighofer, N., Finley, J. M., McKenzie, A., Wen, Y., & Sánchez, N. (2025) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2025.3568325 · Cited by 12
(2024) · doi:10.1101/2024.10.28.620665 · Cited by 12
Metadata
- Authors
- Sardá-Espinosa, A.
- Venue
- The R Journal
- Publisher
- The R Foundation
- Published
- 2019
- Volume
- 11
- Issue
- 1
- Pages
- 22
- ISSN
- 2073-4859 (ISSN-L)
- OpenAlex
- W2970988466
- Cited by
- 193
- References
- 23
- FWCI
- 12.69
- Type
- journal article
- Language
- en
- Open access
- diamond
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.