@Title(value="Derivative dynamic time warping") @Reference(authors="E. J. Keogh, M. J. Pazzani", title="Derivative dynamic time warping", booktitle="1st SIAM Int. Conf. on Data Mining (SDM-2001)", url="https://doi.org/10.1137/1.9781611972719.1", bibkey="DBLP:conf/sdm/KeoghP01") public class DerivativeDTWDistanceFunction extends DTWDistanceFunction
Reference:
E. J. Keogh, M. J. Pazzani
Derivative dynamic time warping
1st SIAM Int. Conf. on Data Mining (SDM-2001)
DTWDistanceFunction.Parameterizer
bandSize
Constructor and Description |
---|
DerivativeDTWDistanceFunction()
Constructor.
|
DerivativeDTWDistanceFunction(double bandSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
derivative(int i,
NumberVector v)
Given a NumberVector and the position of an element, approximates the
gradient of given element.
|
double |
distance(NumberVector v1,
NumberVector v2)
Computes the distance between two given vectors according to this distance
function.
|
protected void |
firstRow(double[] buf,
int band,
NumberVector v1,
NumberVector v2,
int dim2)
Fill the first row.
|
delta
effectiveBandSize, equals, getInputTypeRestriction, hashCode
dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
instantiate
isMetric, isSquared, isSymmetric
public DerivativeDTWDistanceFunction()
public DerivativeDTWDistanceFunction(double bandSize)
bandSize
- Band sizepublic double distance(NumberVector v1, NumberVector v2)
NumberVectorDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class DTWDistanceFunction
v1
- first vectorv2
- second vectorprotected void firstRow(double[] buf, int band, NumberVector v1, NumberVector v2, int dim2)
DTWDistanceFunction
firstRow
in class DTWDistanceFunction
buf
- Bufferband
- Bandwidthv1
- First vectorv2
- Second vectordim2
- Dimensionality of secondprotected double derivative(int i, NumberVector v)
Copyright © 2019 ELKI Development Team. License information.