Package: dtwclust 6.0.0

Alexis Sarda

dtwclust: Time Series Clustering Along with Optimizations for the Dynamic Time Warping Distance

Time series clustering along with optimized techniques related to the Dynamic Time Warping distance and its corresponding lower bounds. Implementations of partitional, hierarchical, fuzzy, k-Shape and TADPole clustering are available. Functionality can be easily extended with custom distance measures and centroid definitions. Implementations of DTW barycenter averaging, a distance based on global alignment kernels, and the soft-DTW distance and centroid routines are also provided. All included distance functions have custom loops optimized for the calculation of cross-distance matrices, including parallelization support. Several cluster validity indices are included.

Authors:Alexis Sarda-Espinosa

dtwclust_6.0.0.tar.gz
dtwclust_6.0.0.tar.gz(r-4.5-noble)dtwclust_6.0.0.tar.gz(r-4.4-noble)
dtwclust.pdf |dtwclust.html
dtwclust/json (API)
NEWS

# Install 'dtwclust' in R:
install.packages('dtwclust', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/asardaes/dtwclust/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:

41 exports 1 stars 3.52 score 75 dependencies 13 dependents 11 mentions 458 scripts 6.4k downloads

Last updated 2 months agofrom:89d34105e1. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-linux-x86_64NOTEAug 23 2024

Exports:as.matrixcompare_clusteringscompare_clusterings_configscompute_envelopecvicvi_evaluatorsdbaDBAdtw_basicdtw_lbdtw2fuzzy_controlgakGAKhierarchical_controlinteractive_clusteringlb_improvedlb_keoghNCCcpam_centpartitional_controlpdc_configsplotpredictreinterpolaterepeat_clusteringsbdSBDsdtwsdtw_centshape_extractionshowssdtwclusttadpoleTADPoletadpole_controltsclusttsclust_argstslistupdatezscore

Dependencies:base64encbslibcachemclasscliclueclustercodetoolscolorspacecommonmarkcrayondigestdplyrdtwfansifarverfastmapflexclustfontawesomeforeachfsgenericsggplot2ggrepelgluegtablehtmltoolshttpuvisobanditeratorsjquerylibjsonlitelabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemodeltoolsmunsellnlmepillarpkgconfigplyrpromisesproxyR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRcppThreadreshape2rlangRSpectrasassscalesshinyshinyjssourcetoolsstringistringrtibbletidyselectutf8vctrsviridisLitewithrxtable

Comparing Time-Series Clustering Algorithms in R Using the dtwclust Package

Rendered fromdtwclust.Rnwusingknitr::knitr_notangleon Aug 23 2024.

Last update: 2019-09-19
Started: 2016-09-02

Parallelization considerations for dtwclust

Rendered fromparallelization-considerations.Rmdusingknitr::rmarkdown_notangleon Aug 23 2024.

Last update: 2019-06-29
Started: 2018-01-29

Timing experiments for dtwclust

Rendered fromtiming-experiments.Rmdusingknitr::rmarkdown_notangleon Aug 23 2024.

Last update: 2019-06-29
Started: 2017-08-09

Readme and manuals

Help Manual

Help pageTopics
Time series clustering along with optimizations for the Dynamic Time Warping distancedtwclust-package dtwclust
as.matrixas.matrix
Compare different clustering configurationscompare_clusterings
Create clustering configurations.compare_clusterings_configs
Time series warping envelopescompute_envelope
Cluster validity indicescvi cvi,FuzzyTSClusters cvi,FuzzyTSClusters-method cvi,HierarchicalTSClusters cvi,HierarchicalTSClusters-method cvi,matrix-method cvi,PartitionalTSClusters cvi,PartitionalTSClusters-method
Cluster comparison based on CVIscvi_evaluators
DTW Barycenter AveragingDBA dba
Distance matrix's lower triangularDistmatLowerTriangular DistmatLowerTriangular-class
Basic DTW distancedtw_basic
DTW distance matrix guided by Lemire's improved lower bounddtw_lb
DTW distance with L2 normdtw2
Results of timing experimentsdtwclustTimings
Fast global alignment kernelsGAK gak
A shiny app for interactive clusteringinteractive_clustering
Lemire's improved DTW lower boundlb_improved
Keogh's DTW lower boundlb_keogh
Cross-correlation with coefficient normalizationNCCc
Centroid for partition around medoidspam_cent
Helper function for preprocessing/distance/centroid configurationspdc_configs
Wrapper for simple linear reinterpolationreinterpolate
Repeat a clustering configurationrepeat_clustering
Shape-based distanceSBD sbd
Soft-DTW distancesdtw
Centroid calculation based on soft-DTWsdtw_cent
Shape average of several time seriesshape_extraction
A shiny app for semi-supervised DTW-based clusteringssdtwclust
TADPole clusteringTADPole tadpole
Time series clusteringtsclust
Control parameters for clusterings with 'tsclust()'fuzzy_control hierarchical_control partitional_control tadpole_control tsclust-controls tsclust_args
Class definition for 'TSClusters' and derived classesFuzzyTSClusters FuzzyTSClusters-class HierarchicalTSClusters HierarchicalTSClusters-class PartitionalTSClusters PartitionalTSClusters-class TSClusters TSClusters-class
Methods for 'TSClusters'initialize,TSClusters initialize,TSClusters-method plot,TSClusters,missing plot,TSClusters,missing-method plot.TSClusters predict,TSClusters predict,TSClusters-method predict.TSClusters show,TSClusters show,TSClusters-method TSClusters-methods tsclusters-methods update,TSClusters update,TSClusters-method update.TSClusters
Class definition for 'tsclustFamily'tsclustFamily tsclustFamily-class
Coerce matrices or data frames to a list of time seriestslist
Subset of character trajectories data setCharTraj CharTrajLabels CharTrajMV uciCT ucict
Wrapper for z-normalizationzscore