Package | Description |
---|---|
de.lmu.ifi.dbs.elki.database.query.distance |
Prepared queries for distances.
|
de.lmu.ifi.dbs.elki.database.query.similarity |
Prepared queries for similarity functions.
|
de.lmu.ifi.dbs.elki.distance.similarityfunction |
Similarity functions.
|
de.lmu.ifi.dbs.elki.distance.similarityfunction.kernel |
Kernel functions.
|
Modifier and Type | Field and Description |
---|---|
private PrimitiveSimilarityFunction<? super O,D> |
PrimitiveDistanceSimilarityQuery.similarityFunction
Typed reference to the similarity function (usually the same as the
distance function!)
|
Modifier and Type | Method and Description |
---|---|
PrimitiveSimilarityFunction<? super O,D> |
PrimitiveDistanceSimilarityQuery.getSimilarityFunction() |
Constructor and Description |
---|
PrimitiveDistanceSimilarityQuery(Relation<? extends O> relation,
PrimitiveDistanceFunction<? super O,D> distanceFunction,
PrimitiveSimilarityFunction<? super O,D> similarityFunction)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected PrimitiveSimilarityFunction<? super O,D> |
PrimitiveSimilarityQuery.similarityFunction
The distance function we use.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveSimilarityFunction<? super O,D> |
PrimitiveSimilarityQuery.getSimilarityFunction() |
Constructor and Description |
---|
PrimitiveSimilarityQuery(Relation<? extends O> relation,
PrimitiveSimilarityFunction<? super O,D> similarityFunction)
Constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NormalizedPrimitiveSimilarityFunction<O>
Marker interface for similarity functions working on primitive objects, and
limited to the 0-1 value range.
|
interface |
PrimitiveDoubleSimilarityFunction<O>
Interface for similarity functions that can provide a raw double value.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDBIDSimilarityFunction<D extends Distance<D>>
Abstract super class for distance functions needing a preprocessor.
|
class |
AbstractPrimitiveSimilarityFunction<O,D extends Distance<D>>
Base implementation of a similarity function.
|
class |
AbstractVectorDoubleSimilarityFunction
Abstract base class for double-valued primitive similarity functions.
|
class |
InvertedDistanceSimilarityFunction<O>
Adapter to use a primitive number-distance as similarity measure, by computing
1/distance.
|
class |
JaccardPrimitiveSimilarityFunction<O extends FeatureVector<?>>
A flexible extension of Jaccard similarity to non-binary vectors.
|
class |
Kulczynski1SimilarityFunction
Kulczynski similarity 1.
|
class |
Kulczynski2SimilarityFunction
Kulczynski similarity 2.
|
Modifier and Type | Class and Description |
---|---|
class |
LaplaceKernelFunction
Provides the laplace / exponential radial basis function kernel.
|
class |
LinearKernelFunction
Provides a linear Kernel function that computes a similarity between the two
feature vectors V1 and V2 defined by V1^T*V2.
|
class |
PolynomialKernelFunction
Provides a polynomial Kernel function that computes a similarity between the
two feature vectors V1 and V2 defined by (V1^T*V2)^degree.
|
class |
RadialBasisFunctionKernelFunction
Provides the Gaussian radial basis function kernel (RBF Kernel).
|
class |
RationalQuadraticKernelFunction
Provides the rational quadratic kernel, a less computational approximation of
the Gaussian RBF kerne (
RadialBasisFunctionKernelFunction ). |
class |
SigmoidKernelFunction
Sigmoid kernel function (aka: hyperbolic tangent kernel, multilayer
perceptron MLP kernel).
|
Constructor and Description |
---|
KernelMatrix(PrimitiveSimilarityFunction<? super O,D> kernelFunction,
Relation<? extends O> relation,
DBIDs ids)
Provides a new kernel matrix.
|