Modifier and Type | Field and Description |
---|---|
private PrimitiveDistanceFunction<? super O,D> |
AbstractPrimitiveDistanceBasedAlgorithm.distanceFunction
Holds the instance of the distance function specified by
AbstractDistanceBasedAlgorithm.DISTANCE_FUNCTION_ID . |
protected PrimitiveDistanceFunction<O,D> |
AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer.distanceFunction
Distance function to use.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveDistanceFunction<? super O,D> |
AbstractPrimitiveDistanceBasedAlgorithm.getDistanceFunction()
Returns the distanceFunction.
|
Constructor and Description |
---|
AbstractPrimitiveDistanceBasedAlgorithm(PrimitiveDistanceFunction<? super O,D> distanceFunction)
Constructor.
|
DependencyDerivator(PrimitiveDistanceFunction<V,D> distanceFunction,
NumberFormat nf,
PCAFilteredRunner<V> pca,
int sampleSize,
boolean randomsample)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<V> |
KMeansPlusPlusInitialMeans.chooseInitialMeans(Relation<V> relation,
int k,
PrimitiveDistanceFunction<? super V,?> distanceFunction) |
List<V> |
RandomlyGeneratedInitialMeans.chooseInitialMeans(Relation<V> relation,
int k,
PrimitiveDistanceFunction<? super V,?> distanceFunction) |
List<V> |
PAMInitialMeans.chooseInitialMeans(Relation<V> relation,
int k,
PrimitiveDistanceFunction<? super V,?> distanceFunction) |
List<V> |
KMeansInitialization.chooseInitialMeans(Relation<V> relation,
int k,
PrimitiveDistanceFunction<? super V,?> distanceFunction)
Choose initial means
|
List<V> |
RandomlyChosenInitialMeans.chooseInitialMeans(Relation<V> relation,
int k,
PrimitiveDistanceFunction<? super V,?> distanceFunction) |
List<V> |
FirstKInitialMeans.chooseInitialMeans(Relation<V> relation,
int k,
PrimitiveDistanceFunction<? super V,?> distanceFunction) |
Constructor and Description |
---|
AbstractKMeans(PrimitiveDistanceFunction<? super NumberVector<?>,D> distanceFunction,
int k,
int maxiter,
KMeansInitialization<V> initializer)
Constructor.
|
KMeansLloyd(PrimitiveDistanceFunction<NumberVector<?>,D> distanceFunction,
int k,
int maxiter,
KMeansInitialization<V> initializer)
Constructor.
|
KMeansMacQueen(PrimitiveDistanceFunction<NumberVector<?>,D> distanceFunction,
int k,
int maxiter,
KMeansInitialization<V> initializer)
Constructor.
|
KMediansLloyd(PrimitiveDistanceFunction<NumberVector<?>,D> distanceFunction,
int k,
int maxiter,
KMeansInitialization<V> initializer)
Constructor.
|
KMedoidsEM(PrimitiveDistanceFunction<? super V,D> distanceFunction,
int k,
int maxiter,
KMedoidsInitialization<V> initializer)
Constructor.
|
KMedoidsPAM(PrimitiveDistanceFunction<? super V,D> distanceFunction,
int k,
int maxiter,
KMedoidsInitialization<V> initializer)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected PrimitiveDistanceFunction<O,D> |
AbstractDistanceBasedSpatialOutlier.Parameterizer.distanceFunction
The distance function to use on the non-spatial attributes.
|
Constructor and Description |
---|
SLOM(NeighborSetPredicate.Factory<N> npred,
PrimitiveDistanceFunction<O,D> nonSpatialDistanceFunction)
Constructor.
|
SOF(NeighborSetPredicate.Factory<N> npred,
PrimitiveDistanceFunction<O,D> nonSpatialDistanceFunction)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected PrimitiveDistanceFunction<? super O,D> |
PrimitiveDistanceQuery.distanceFunction
The distance function we use.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveDistanceFunction<? super O,D> |
PrimitiveDistanceQuery.getDistanceFunction() |
Constructor and Description |
---|
PrimitiveDistanceQuery(Relation<? extends O> relation,
PrimitiveDistanceFunction<? super O,D> distanceFunction)
Constructor.
|
PrimitiveDistanceSimilarityQuery(Relation<? extends O> relation,
PrimitiveDistanceFunction<? super O,D> distanceFunction,
PrimitiveSimilarityFunction<? super O,D> similarityFunction)
Constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DoubleNorm<O>
Interface for norms in the double domain.
|
interface |
NumberVectorDistanceFunction<D extends Distance<D>>
Base interface for the common case of distance functions defined on numerical vectors.
|
interface |
PrimitiveDoubleDistanceFunction<O>
Interface for distance functions that can provide a raw double value.
|
interface |
SpatialPrimitiveDistanceFunction<V extends SpatialComparable,D extends Distance<D>>
API for a spatial primitive distance function.
|
interface |
SpatialPrimitiveDoubleDistanceFunction<V extends SpatialComparable>
Interface combining spatial primitive distance functions with primitive
number distance functions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrimitiveDistanceFunction<O,D extends Distance<D>>
AbstractDistanceFunction provides some methods valid for any extending class.
|
class |
AbstractVectorDoubleDistanceFunction
Abstract base class for the most common family of distance functions: defined
on number vectors and returning double values.
|
class |
AbstractVectorDoubleDistanceNorm
Abstract base class for double-valued number-vector-based distances based on
norms.
|
class |
ArcCosineDistanceFunction
Cosine distance function for feature vectors.
|
class |
CanberraDistanceFunction
Canberra distance function, a variation of Manhattan distance.
|
class |
CosineDistanceFunction
Cosine distance function for feature vectors.
|
class |
EuclideanDistanceFunction
Provides the Euclidean distance for FeatureVectors.
|
class |
JeffreyDivergenceDistanceFunction
Provides the Jeffrey Divergence Distance for FeatureVectors.
|
class |
LPNormDistanceFunction
Provides a LP-Norm for FeatureVectors.
|
class |
ManhattanDistanceFunction
Manhattan distance function to compute the Manhattan distance for a pair of
FeatureVectors.
|
class |
MaximumDistanceFunction
Maximum distance function to compute the Maximum distance for a pair of
FeatureVectors.
|
class |
MinimumDistanceFunction
Maximum distance function to compute the Minimum distance for a pair of
FeatureVectors.
|
class |
SparseEuclideanDistanceFunction
Euclidean distance function.
|
class |
SparseLPNormDistanceFunction
Provides a LP-Norm for FeatureVectors.
|
class |
SparseManhattanDistanceFunction
Manhattan distance function.
|
class |
SparseMaximumDistanceFunction
Maximum distance function.
|
class |
SquaredEuclideanDistanceFunction
Provides the squared Euclidean distance for FeatureVectors.
|
class |
WeightedDistanceFunction
Provides the Weighted distance for feature vectors.
|
class |
WeightedLPNormDistanceFunction
Weighted version of the Euclidean distance function.
|
class |
WeightedSquaredEuclideanDistanceFunction
Provides the squared Euclidean distance for FeatureVectors.
|
Modifier and Type | Class and Description |
---|---|
class |
HistogramIntersectionDistanceFunction
Intersection distance for color histograms.
|
class |
HSBHistogramQuadraticDistanceFunction
Distance function for HSB color histograms based on a quadratic form and
color similarity.
|
class |
RGBHistogramQuadraticDistanceFunction
Distance function for RGB color histograms based on a quadratic form and
color similarity.
|
Modifier and Type | Class and Description |
---|---|
class |
PearsonCorrelationDistanceFunction
Pearson correlation distance function for feature vectors.
|
class |
SquaredPearsonCorrelationDistanceFunction
Squared Pearson correlation distance function for feature vectors.
|
class |
WeightedPearsonCorrelationDistanceFunction
Pearson correlation distance function for feature vectors.
|
class |
WeightedSquaredPearsonCorrelationDistanceFunction
Squared Pearson correlation distance function for feature vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
DimensionSelectingLatLngDistanceFunction
Distance function for 2D vectors in Latitude, Longitude form.
|
class |
LatLngDistanceFunction
Distance function for 2D vectors in Latitude, Longitude form.
|
class |
LngLatDistanceFunction
Distance function for 2D vectors in Longitude, Latitude form.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDimensionsSelectingDoubleDistanceFunction<V extends FeatureVector<?>>
Provides a distance function that computes the distance (which is a double
distance) between feature vectors only in specified dimensions.
|
class |
DimensionSelectingDistanceFunction
Provides a distance function that computes the distance between feature
vectors as the absolute difference of their values in a specified dimension.
|
class |
SubspaceEuclideanDistanceFunction
Provides a distance function that computes the Euclidean distance between
feature vectors only in specified dimensions.
|
class |
SubspaceLPNormDistanceFunction
Provides a distance function that computes the Euclidean distance between
feature vectors only in specified dimensions.
|
class |
SubspaceManhattanDistanceFunction
Provides a distance function that computes the Euclidean distance between
feature vectors only in specified dimensions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEditDistanceFunction
Provides the Edit Distance for FeatureVectors.
|
class |
DTWDistanceFunction
Provides the Dynamic Time Warping distance for FeatureVectors.
|
class |
EDRDistanceFunction
Provides the Edit Distance on Real Sequence distance for FeatureVectors.
|
class |
ERPDistanceFunction
Provides the Edit Distance With Real Penalty distance for FeatureVectors.
|
class |
LCSSDistanceFunction
Provides the Longest Common Subsequence distance for FeatureVectors.
|
Modifier and Type | Field and Description |
---|---|
protected PrimitiveDistanceFunction<? super O,? extends NumberDistance<?,?>> |
InvertedDistanceSimilarityFunction.distanceFunction
Holds the similarity function.
|
Modifier and Type | Class and Description |
---|---|
class |
FooKernelFunction
Provides an experimental KernelDistanceFunction for NumberVectors.
|
class |
LinearKernelFunction<O extends NumberVector<?>>
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.
|
Modifier and Type | Field and Description |
---|---|
private PrimitiveDistanceFunction<? super V,DoubleDistance> |
WeightedCovarianceMatrixBuilder.weightDistance
Holds the distance function used for weight calculation.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiLPNorm
Tutorial example for ELKI.
|
class |
TutorialDistanceFunction
Tutorial example for ELKI.
|