View source: R/Pattern_recognition_distances.R
DEcort | R Documentation |
Return a weighted distance based on a weighted sum of the Euclidean norm and the temporal correlation coefficient. The distance is inflated in the presence of NA compensating for the lack of information.
DEcort(k, S1, S2)
k |
The parameter $k$ controls the contribution of the sum of squares comparison as a value-based metric and the $Cort$ quantity as a behavioral metric; when $k=0$, then the distance is equal to the value-based metric, on the other hand, when $k=6$ the distance is mainly determined by the value of the temporal correlation $Cort$. |
S1 |
A vector representing a univariate time series |
S2 |
A second vector representing a univariate time series |
a non-zero value
Douzal-Chouakria, Ahlame, and Cecile Amblard. "Classification Trees for Time Series." Pattern Recognition 45, no. 3 (March 2012): 1076-91. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.patcog.2011.08.018")}
S1=rnorm(100)
S2=rnorm(100)
k=1
DEcort(k,S1, S2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.