@Title(value="Derivative dynamic time warping") @Reference(authors="E. J. Keogh and M. J. Pazzani", title="Derivative dynamic time warping", booktitle="1st SIAM International Conference on Data Mining (SDM-2001)", url="https://siam.org/proceedings/datamining/2001/dm01_01KeoghE.pdf") public class DerivativeDTWDistanceFunction extends DTWDistanceFunction
E. J. Keogh and M. J. Pazzani
Derivative dynamic time warping
In the 1st SIAM International Conference on Data Mining (SDM-2001), Chicago,
IL, USA.
DTWDistanceFunction.Parameterizer
bandSize
Constructor and Description |
---|
DerivativeDTWDistanceFunction()
Constructor.
|
DerivativeDTWDistanceFunction(double bandSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 DatabaseObjects 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
dimensionality, dimensionality, dimensionality, dimensionality
instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instantiate, isMetric, isSymmetric
public DerivativeDTWDistanceFunction()
public DerivativeDTWDistanceFunction(double bandSize)
bandSize
- Band sizepublic double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class DTWDistanceFunction
v1
- first DatabaseObjectv2
- second DatabaseObjectprotected 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 secondpublic double derivative(int i, NumberVector v)
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.