Uses of Interface
elki.database.query.similarity.SimilarityQuery
-
Packages that use SimilarityQuery Package Description elki.clustering Clustering algorithms.elki.clustering.svm elki.database.query Database queries - computing distances, neighbors, similarities - API and general documentation.elki.database.query.distance Prepared queries for distances.elki.database.query.range Prepared queries for ε-range queries, that return all objects within the radius ε.elki.database.query.similarity Prepared queries for similarity functions.elki.distance.adapter Distance functions deriving distances from, e.g., similarity measures.elki.index Index structure implementations.elki.index.distancematrix Precomputed distance matrix.elki.outlier.subspace Subspace outlier detection methods.elki.similarity Similarity functions.elki.similarity.kernel Kernel functions.elki.svm.data -
-
Uses of SimilarityQuery in elki.clustering
Methods in elki.clustering with parameters of type SimilarityQuery Modifier and Type Method Description protected void
SNNClustering. expandCluster(SimilarityQuery<O> snnInstance, DBIDRef startObjectID, FiniteProgress objprog, IndefiniteProgress clusprog)
DBSCAN-function expandCluster adapted to SNN criterion.protected ArrayModifiableDBIDs
SNNClustering. findSNNNeighbors(SimilarityQuery<O> snnInstance, DBIDRef queryObject)
Returns the shared nearest neighbors of the specified query object in the given database. -
Uses of SimilarityQuery in elki.clustering.svm
Methods in elki.clustering.svm with parameters of type SimilarityQuery Modifier and Type Method Description private boolean
SupportVectorClustering. accept(NumberVector cur, RegressionModel model, double fixed, ArrayDBIDs ids, SimilarityQuery<NumberVector> sim, double r_square)
evaluate if a point cur is inside the sphere in kernel space.private double
SupportVectorClustering. calcfixedpart(RegressionModel model, ArrayDBIDs ids, SimilarityQuery<NumberVector> sim)
calculate fixed part of model evaluationprivate boolean
SupportVectorClustering. checkConnectivity(Relation<NumberVector> relation, double[] start, DBIDRef destRef, RegressionModel model, double fixed, ArrayDBIDs ids, SimilarityQuery<NumberVector> sim, double r_squared)
Checks if the connecting line between start and dest lies inside the kernel space sphere. -
Uses of SimilarityQuery in elki.database.query
Subinterfaces of SimilarityQuery in elki.database.query Modifier and Type Interface Description interface
DistanceSimilarityQuery<O>
Interface that is a combination of distance and a similarity function.Fields in elki.database.query declared as SimilarityQuery Modifier and Type Field Description private SimilarityQuery<O>
QueryBuilder. simQuery
Bound similarity to queryMethods in elki.database.query that return SimilarityQuery Modifier and Type Method Description default <O> SimilarityQuery<O>
QueryOptimizer. getSimilarityQuery(Relation<? extends O> relation, Similarity<? super O> similarityFunction, int flags)
Optimize a similarity query for this relation.SimilarityQuery<O>
QueryBuilder. similarityQuery()
Build a similarity query.Methods in elki.database.query with parameters of type SimilarityQuery Modifier and Type Method Description default <O> RangeSearcher<DBIDRef>
QueryOptimizer. similarityRangeByDBID(Relation<? extends O> relation, SimilarityQuery<O> simQuery, double maxrange, int flags)
Optimize a range query for this relation.default <O> RangeSearcher<O>
QueryOptimizer. similarityRangeByObject(Relation<? extends O> relation, SimilarityQuery<O> simQuery, double maxrange, int flags)
Optimize a range query for this relation.Constructors in elki.database.query with parameters of type SimilarityQuery Constructor Description QueryBuilder(SimilarityQuery<? super O> simQuery)
Constructor. -
Uses of SimilarityQuery in elki.database.query.distance
Classes in elki.database.query.distance that implement SimilarityQuery Modifier and Type Class Description class
PrimitiveDistanceSimilarityQuery<O>
Combination query class, for convenience.class
SpatialPrimitiveDistanceSimilarityQuery<O extends SpatialComparable>
Combination query class, to allow combined implementations of spatial distances and similarities. -
Uses of SimilarityQuery in elki.database.query.range
Fields in elki.database.query.range declared as SimilarityQuery Modifier and Type Field Description protected SimilarityQuery<O>
LinearScanSimilarityRangeByDBID. simQuery
Hold the similarity function to be used.protected SimilarityQuery<O>
LinearScanSimilarityRangeByObject. simQuery
Hold the similarity function to be used.Constructors in elki.database.query.range with parameters of type SimilarityQuery Constructor Description LinearScanSimilarityRangeByDBID(SimilarityQuery<O> simQuery)
Constructor.LinearScanSimilarityRangeByObject(SimilarityQuery<O> simQuery)
Constructor. -
Uses of SimilarityQuery in elki.database.query.similarity
Subinterfaces of SimilarityQuery in elki.database.query.similarity Modifier and Type Interface Description interface
DatabaseSimilarityQuery<O>
Run a database query in a database context.Classes in elki.database.query.similarity that implement SimilarityQuery Modifier and Type Class Description class
PrimitiveSimilarityQuery<O>
Run a database query in a database context. -
Uses of SimilarityQuery in elki.distance.adapter
Fields in elki.distance.adapter declared as SimilarityQuery Modifier and Type Field Description private SimilarityQuery<? super O>
AbstractSimilarityAdapter.Instance. similarityQuery
The similarity query we use.Constructors in elki.distance.adapter with parameters of type SimilarityQuery Constructor Description Instance(Relation<O> database, Distance<? super O> parent, SimilarityQuery<? super O> similarityQuery)
Constructor.Instance(Relation<O> database, Distance<? super O> parent, SimilarityQuery<O> similarityQuery)
Constructor.Instance(Relation<O> database, Distance<? super O> parent, SimilarityQuery<? super O> similarityQuery)
Constructor.Instance(Relation<O> database, Distance<? super O> parent, SimilarityQuery<O> similarityQuery)
Constructor. -
Uses of SimilarityQuery in elki.index
Methods in elki.index that return SimilarityQuery Modifier and Type Method Description SimilarityQuery<O>
SimilarityIndex. getSimilarityQuery(Similarity<? super O> simFunction)
Get a similarity query object for the given similarity function.Methods in elki.index with parameters of type SimilarityQuery Modifier and Type Method Description RangeSearcher<DBIDRef>
SimilarityRangeIndex. similarityRangeByDBID(SimilarityQuery<O> simQuery, double maxrange, int flags)
Get a range query object for the given distance query and k.RangeSearcher<O>
SimilarityRangeIndex. similarityRangeByObject(SimilarityQuery<O> simQuery, double maxrange, int flags)
Get a range query object for the given distance query and k. -
Uses of SimilarityQuery in elki.index.distancematrix
Classes in elki.index.distancematrix that implement SimilarityQuery Modifier and Type Class Description private class
PrecomputedSimilarityMatrix.PrecomputedSimilarityQuery
Similarity query using the precomputed matrix.Fields in elki.index.distancematrix declared as SimilarityQuery Modifier and Type Field Description protected SimilarityQuery<O>
PrecomputedSimilarityMatrix. similarityQuery
Nested similarity query.Methods in elki.index.distancematrix that return SimilarityQuery Modifier and Type Method Description SimilarityQuery<O>
PrecomputedSimilarityMatrix. getSimilarityQuery(Similarity<? super O> similarityFunction)
Methods in elki.index.distancematrix with parameters of type SimilarityQuery Modifier and Type Method Description RangeSearcher<DBIDRef>
PrecomputedSimilarityMatrix. similarityRangeByDBID(SimilarityQuery<O> simQuery, double maxradius, int flags)
RangeSearcher<O>
PrecomputedSimilarityMatrix. similarityRangeByObject(SimilarityQuery<O> simQuery, double maxrange, int flags)
-
Uses of SimilarityQuery in elki.outlier.subspace
Methods in elki.outlier.subspace with parameters of type SimilarityQuery Modifier and Type Method Description private DBIDs
SOD. getNearestNeighbors(Relation<V> relation, SimilarityQuery<V> simQ, DBIDRef queryObject)
Get the k nearest neighbors in terms of the shared nearest neighbor distance. -
Uses of SimilarityQuery in elki.similarity
Subinterfaces of SimilarityQuery in elki.similarity Modifier and Type Interface Description static interface
IndexBasedSimilarity.Instance<T,I extends Index>
Instance interface for index/preprocessor based distance functions.Classes in elki.similarity that implement SimilarityQuery Modifier and Type Class Description static class
AbstractIndexBasedSimilarity.Instance<O,I extends Index>
The actual instance bound to a particular database.static class
FractionalSharedNearestNeighborSimilarity.Instance<T>
Actual instance for a dataset.static class
SharedNearestNeighborSimilarity.Instance<O>
Instance for a particular database.Methods in elki.similarity that return SimilarityQuery Modifier and Type Method Description default <T extends O>
SimilarityQuery<T>PrimitiveSimilarity. instantiate(Relation<T> relation)
<T extends O>
SimilarityQuery<T>Similarity. instantiate(Relation<T> relation)
Instantiate with a representation to get the actual similarity query. -
Uses of SimilarityQuery in elki.similarity.kernel
Constructors in elki.similarity.kernel with parameters of type SimilarityQuery Constructor Description KernelMatrix(SimilarityQuery<? super O> kernelFunction, Relation<? extends O> relation, DBIDs ids)
Provides a new kernel matrix. -
Uses of SimilarityQuery in elki.svm.data
Fields in elki.svm.data declared as SimilarityQuery Modifier and Type Field Description (package private) SimilarityQuery<?>
SimilarityQueryAdapter. sim
Similarity queryConstructors in elki.svm.data with parameters of type SimilarityQuery Constructor Description SimilarityQueryAdapter(SimilarityQuery<?> sim, DBIDs ids)
-