public class RationalQuadraticKernelFunction extends AbstractVectorSimilarityFunction
RadialBasisFunctionKernelFunction
).Modifier and Type | Class and Description |
---|---|
static class |
RationalQuadraticKernelFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private double |
c
Constant term c.
|
Constructor and Description |
---|
RationalQuadraticKernelFunction(double c)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
similarity(NumberVector o1,
NumberVector o2)
Computes the similarity between two given DatabaseObjects according to this
similarity function.
|
getInputTypeRestriction
instantiate, isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instantiate, isSymmetric
public RationalQuadraticKernelFunction(double c)
c
- Constant term c.public double similarity(NumberVector o1, NumberVector o2)
PrimitiveSimilarityFunction
similarity
in interface PrimitiveSimilarityFunction<NumberVector>
similarity
in class AbstractPrimitiveSimilarityFunction<NumberVector>
o1
- first DatabaseObjecto2
- second DatabaseObjectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.