Description Usage Arguments Value References See Also
Computes the Edit distance with real penalty as described by Chen and Ng
(2004). The coding is inspired by the TSdist::ERPDistance()
method,
but faster because point-to-point distances computation is integrated into
the C++ code.
1 | ERPDist(x, y, gapValue)
|
x |
1st numeric vector/time series. |
y |
2nd numeric vector/time series. |
gapValue |
If an element of one series is not matched to the other series, its distance to the gapValue is computed instead (0 might be a sensible default for standardized series). |
The distance as double.
Chen, L., & Ng, R. (2004, August). On the marriage of lp-norms and edit distance. In Proceedings of the Thirtieth international conference on Very large data bases-Volume 30 (pp. 792-803). VLDB Endowment.
Other Edit distance functions: EDRDistMult_fast
,
EDRDistSakoeChibaMult_fast
,
EDRDistSakoeChiba_fast
,
EDRDist_fast
,
ERPDistMult_fast
,
ERPDistSakoeChibaMult_fast
,
ERPDistSakoeChiba_fast
,
ERPDistSakoeChiba
,
ERPDist_fast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.