@Reference(authors="E. Hellinger", title="Neue Begr\u00fcndung der Theorie quadratischer Formen von unendlichvielen Ver\u00e4nderlichen", booktitle="Journal f\u00fcr die reine und angewandte Mathematik ", url="http://resolver.sub.uni-goettingen.de/purl?GDZPPN002166941") @Alias(value={"hellinger","bhattacharyya"}) public class HellingerDistanceFunction extends AbstractNumberVectorDistanceFunction implements PrimitiveSimilarityFunction<NumberVector>
E. Hellinger
Neue Begründung der Theorie quadratischer Formen von unendlichvielen
Veränderlichen
Journal für die reine und angewandte Mathematik
Modifier and Type | Class and Description |
---|---|
static class |
HellingerDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static HellingerDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
HellingerDistanceFunction()
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.
|
SimpleTypeInformation<? super NumberVector> |
getInputTypeRestriction()
Get the input data type of the function.
|
<T extends NumberVector> |
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query.
|
boolean |
isMetric()
Is this distance function metric (in particular, does it satisfy the
triangle equation?)
|
double |
similarity(NumberVector o1,
NumberVector o2)
Computes the similarity between two given DatabaseObjects according to this
similarity function.
|
dimensionality, dimensionality, dimensionality, dimensionality
isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSymmetric
isSymmetric
public static final HellingerDistanceFunction STATIC
@Deprecated public HellingerDistanceFunction()
STATIC
!public double distance(NumberVector fv1, NumberVector fv2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class AbstractPrimitiveDistanceFunction<NumberVector>
fv1
- first DatabaseObjectfv2
- second DatabaseObjectpublic double similarity(NumberVector o1, NumberVector o2)
PrimitiveSimilarityFunction
similarity
in interface PrimitiveSimilarityFunction<NumberVector>
o1
- first DatabaseObjecto2
- second DatabaseObjectpublic boolean isMetric()
DistanceFunction
isMetric
in interface DistanceFunction<NumberVector>
isMetric
in class AbstractPrimitiveDistanceFunction<NumberVector>
true
when metric.public <T extends NumberVector> DistanceSimilarityQuery<T> instantiate(Relation<T> database)
AbstractPrimitiveDistanceFunction
instantiate
in interface DistanceFunction<NumberVector>
instantiate
in interface SimilarityFunction<NumberVector>
instantiate
in class AbstractPrimitiveDistanceFunction<NumberVector>
database
- Representationpublic SimpleTypeInformation<? super NumberVector> getInputTypeRestriction()
DistanceFunction
getInputTypeRestriction
in interface DistanceFunction<NumberVector>
getInputTypeRestriction
in interface PrimitiveDistanceFunction<NumberVector>
getInputTypeRestriction
in interface PrimitiveSimilarityFunction<NumberVector>
getInputTypeRestriction
in interface SimilarityFunction<NumberVector>
getInputTypeRestriction
in class AbstractNumberVectorDistanceFunction
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.