public class LinearKernelFunction extends PolynomialKernelFunction
EuclideanDistanceFunction
Modifier and Type | Class and Description |
---|---|
static class |
LinearKernelFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static LinearKernelFunction |
STATIC
Static instance.
|
DEFAULT_DEGREE
Constructor and Description |
---|
LinearKernelFunction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
distance(NumberVector fv1,
NumberVector fv2)
Computes the distance between two given DatabaseObjects according to this
distance function.
|
double |
similarity(NumberVector o1,
NumberVector o2)
Computes the similarity between two given DatabaseObjects according to this
similarity function.
|
instantiate, isMetric
getInputTypeRestriction
isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputTypeRestriction
isSymmetric
isSymmetric
public static final LinearKernelFunction STATIC
@Deprecated public LinearKernelFunction()
STATIC
!public double similarity(NumberVector o1, NumberVector o2)
PrimitiveSimilarityFunction
similarity
in interface PrimitiveSimilarityFunction<NumberVector>
similarity
in class PolynomialKernelFunction
o1
- first DatabaseObjecto2
- second DatabaseObjectpublic double distance(NumberVector fv1, NumberVector fv2)
PrimitiveDistanceFunction
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class PolynomialKernelFunction
fv1
- first DatabaseObjectfv2
- second DatabaseObjectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.