Description Usage Arguments Value Author(s) Examples
This function estimates a distance matrix which is used as an input in dtw() function (package dtw) to align two univariate signals following Adaptative Feature Based Dynamic Time Warping algorithm (AFBDTW).
1 | dist_afbdtw(q, r, w1 = 0.5)
|
q |
query vector |
r |
reference vector |
w1 |
weight of local feature VS global feature. By default, w1 = 0.5, and by definition, w2 = 1 - w1. |
A list containing the following elements:
query: the query vector
response: the response vector
query_local: local feature of the query
response_local: local feature of the response vector
query_global: global feature of the query
response_global: global feature of the response vector
dist_local: distance matrix of the local feature
dist_local: distance matrix of the global feature
distAFBDTW: AFBDTW distance matrix
Camille Dezecache, Hong T. T. Phan, Emilie Poisson-Caillault
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.