Package: twdtw 1.1-0
twdtw: Time-Weighted Dynamic Time Warping
Provides a fast implementation of Time-Weighted Dynamic Time Warping (TWDTW), a measure for quantifying time series similarity. The TWDTW algorithm, described in Maus et al. (2016) <doi:10.1109/JSTARS.2016.2517118> and Maus et al. (2019) <doi:10.18637/jss.v088.i05>, is applicable to multi-dimensional time series of various resolutions. It is particularly suitable for comparing time series with seasonality for environmental and ecological data analysis, covering domains such as remote sensing imagery, climate data, hydrology, and animal movement. The 'twdtw' package offers a user-friendly 'R' interface, efficient 'Fortran' routines for TWDTW calculations, a k-nearest neighbour model to classify time series, flexible time weighting definitions, as well as utilities for time series preprocessing and visualization. With one temporal pattern for each class, the classification of time series has a processing time comparable to that of other machine learning models available in 'R', such as random forest and support vector machines.
Authors:
twdtw_1.1-0.tar.gz
twdtw_1.1-0.zip(r-4.7-x86_64)twdtw_1.1-0.zip(r-4.7-arm64)twdtw_1.1-0.zip(r-4.6-x86_64)twdtw_1.1-0.zip(r-4.6-arm64)twdtw_1.1-0.zip(r-4.5-x86_64)
twdtw_1.1-0.tgz(r-4.6-x86_64)twdtw_1.1-0.tgz(r-4.6-arm64)twdtw_1.1-0.tgz(r-4.5-x86_64)twdtw_1.1-0.tgz(r-4.5-arm64)
twdtw_1.1-0.tar.gz(r-4.7-arm64)twdtw_1.1-0.tar.gz(r-4.7-x86_64)twdtw_1.1-0.tar.gz(r-4.6-arm64)twdtw_1.1-0.tar.gz(r-4.6-x86_64)
twdtw_1.1-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
twdtw/json (API)
| # Install 'twdtw' in R: |
| install.packages('twdtw', repos = c('https://vwmaus.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vwmaus/twdtw/issues
Last updated from:cb7c10829e. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 104 | ||
| linux-devel-x86_64 | OK | 123 | ||
| source / vignettes | OK | 195 | ||
| linux-release-arm64 | OK | 104 | ||
| linux-release-x86_64 | OK | 166 | ||
| macos-release-arm64 | OK | 107 | ||
| macos-release-x86_64 | OK | 186 | ||
| macos-oldrel-arm64 | OK | 125 | ||
| macos-oldrel-x86_64 | OK | 217 | ||
| windows-devel-arm64 | OK | 250 | ||
| windows-devel-x86_64 | OK | 159 | ||
| windows-release-arm64 | OK | 215 | ||
| windows-release-x86_64 | OK | 178 | ||
| windows-oldrel-x86_64 | OK | 179 | ||
| wasm-release | OK | 91 |
Exports:date_to_numeric_cyclemax_cycle_lengthplot_cost_matrixto_date_timetwdtwtwdtw_knntwdtw_knn_predicttwdtw_nearest
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Convert Date/POSIXct to a Numeric Cycle | date_to_numeric_cycle |
| Calculate the Maximum Possible Value of a Time Cycle | max_cycle_length |
| Plot TWDTW cost matrix | plot_cost_matrix |
| Classify time series using a TWDTW k-nearest neighbour model | predict.twdtw_knn |
| Print method for twdtw class | print.twdtw |
| Print method for twdtw_knn class | print.twdtw_knn |
| Convert to Date or POSIXct Format | to_date_time |
| Calculate Time-Weighted Dynamic Time Warping (TWDTW) distance | twdtw twdtw.data.frame twdtw.matrix |
| Create a k-nearest neighbour model using TWDTW | twdtw_knn twdtw_knn.array twdtw_knn.data.frame twdtw_knn.list |
| Classify time series of a given class with a TWDTW k-nearest neighbour model | twdtw_knn_predict twdtw_knn_predict.array twdtw_knn_predict.data.frame twdtw_knn_predict.list |
| Find the k-nearest neighbours of time series using TWDTW | twdtw_nearest |
