Uses of Interface
elki.data.SparseNumberVector
-
Packages that use SparseNumberVector Package Description elki.clustering.kmeans K-means clustering and variations.elki.data Basic classes for different data types, database object types and label types.elki.data.projection.random Random projection families.elki.data.type Data type information, also used for type restrictions.elki.datasource.filter.normalization.columnwise Normalizations operating on columns / variates; where each column is treated independently.elki.datasource.filter.typeconversions Filters to perform data type conversions.elki.datasource.parser Parsers for different file formats and data types.elki.distance.minkowski Minkowski space Lp norms such as the popular Euclidean and Manhattan distances.elki.index.invertedlist Indexes using inverted lists.elki.itemsetmining Algorithms for frequent itemset mining such as APRIORI. -
-
Uses of SparseNumberVector in elki.clustering.kmeans
Methods in elki.clustering.kmeans with parameters of type SparseNumberVector Modifier and Type Method Description private static void
AbstractKMeans. sparsePlusEquals(double[] sum, SparseNumberVector vec)
Similar to VMath.plusEquals, but for sparse number vectors.private static void
AbstractKMeans. sparsePlusMinusEquals(double[] add, double[] sub, SparseNumberVector vec)
Add to one, remove from another.Method parameters in elki.clustering.kmeans with type arguments of type SparseNumberVector Modifier and Type Method Description private static double[][]
AbstractKMeans. sparseMeans(java.util.List<? extends DBIDs> clusters, double[][] means, Relation<? extends SparseNumberVector> relation)
Returns the mean vectors of the given clusters in the given database. -
Uses of SparseNumberVector in elki.data
Classes in elki.data with type parameters of type SparseNumberVector Modifier and Type Interface Description static interface
SparseNumberVector.Factory<V extends SparseNumberVector>
Factory for sparse number vectors: make from a dim-value map.Classes in elki.data that implement SparseNumberVector Modifier and Type Class Description class
BitVector
Vector using a dense bit set encoding, based onlong[]
storage.class
SparseByteVector
Sparse vector type, usingbyte[]
for storing the values, andint[]
for storing the indexes, approximately 5 bytes per non-zero value (limited to -128..+127).class
SparseDoubleVector
Sparse vector type, usingdouble[]
for storing the values, andint[]
for storing the indexes, approximately 12 bytes per non-zero value.class
SparseFloatVector
Sparse vector type, usingfloat[]
for storing the values, andint[]
for storing the indexes, approximately 8 bytes per non-zero value.class
SparseIntegerVector
Sparse vector type, usingint[]
for storing the values, andint[]
for storing the indexes, approximately 8 bytes per non-zero integer value.class
SparseShortVector
Sparse vector type, usingshort[]
for storing the values, andint[]
for storing the indexes, approximately 6 bytes per non-zero value.Fields in elki.data with type parameters of type SparseNumberVector Modifier and Type Field Description static VectorFieldTypeInformation<SparseNumberVector>
SparseNumberVector. FIELD
Input data type: Sparse vector field.static VectorTypeInformation<SparseNumberVector>
SparseNumberVector. VARIABLE_LENGTH
Input data type: Sparse vectors with variable length.Methods in elki.data with parameters of type SparseNumberVector Modifier and Type Method Description static double
VectorUtil. angleSparse(SparseNumberVector v1, SparseNumberVector v2)
Compute the angle for sparse vectors.static double
VectorUtil. angleSparseDense(SparseNumberVector v1, NumberVector v2)
Compute the angle for a sparse and a dense vector.static double
VectorUtil. dotSparse(SparseNumberVector v1, SparseNumberVector v2)
Compute the dot product for two sparse vectors.static double
VectorUtil. dotSparseDense(SparseNumberVector v1, double[] v2)
Compute the dot product for a sparse and a dense vector.static double
VectorUtil. dotSparseDense(SparseNumberVector v1, NumberVector v2)
Compute the dot product for a sparse and a dense vector. -
Uses of SparseNumberVector in elki.data.projection.random
Methods in elki.data.projection.random with parameters of type SparseNumberVector Modifier and Type Method Description private double[]
AbstractRandomProjectionFamily.MatrixProjection. projectSparse(SparseNumberVector in, double[] ret)
Project, exploiting sparsity; but the transposed matrix layout would have been better. -
Uses of SparseNumberVector in elki.data.type
Fields in elki.data.type with type parameters of type SparseNumberVector Modifier and Type Field Description static VectorFieldTypeInformation<SparseNumberVector>
TypeUtil. SPARSE_VECTOR_FIELD
Sparse vector field.static VectorTypeInformation<SparseNumberVector>
TypeUtil. SPARSE_VECTOR_VARIABLE_LENGTH
Sparse float vector field. -
Uses of SparseNumberVector in elki.datasource.filter.normalization.columnwise
Classes in elki.datasource.filter.normalization.columnwise with type parameters of type SparseNumberVector Modifier and Type Class Description class
InverseDocumentFrequencyNormalization<V extends SparseNumberVector>
Normalization for text frequency (TF) vectors, using the inverse document frequency (IDF). -
Uses of SparseNumberVector in elki.datasource.filter.typeconversions
Classes in elki.datasource.filter.typeconversions with type parameters of type SparseNumberVector Modifier and Type Class Description class
SparseVectorFieldFilter<V extends SparseNumberVector>
Class that turns sparse float vectors into a proper vector field, by setting the maximum dimensionality for each vector. -
Uses of SparseNumberVector in elki.datasource.parser
Classes in elki.datasource.parser with type parameters of type SparseNumberVector Modifier and Type Class Description class
LibSVMFormatParser<V extends SparseNumberVector>
Parser to read libSVM format files.static class
LibSVMFormatParser.Par<V extends SparseNumberVector>
Parameterization class.class
SparseNumberVectorLabelParser<V extends SparseNumberVector>
Parser for parsing one point per line, attributes separated by whitespace.static class
SparseNumberVectorLabelParser.Par<V extends SparseNumberVector>
Parameterization class.class
TermFrequencyParser<V extends SparseNumberVector>
A parser to load term frequency data, which essentially are sparse vectors with text keys.static class
TermFrequencyParser.Par<V extends SparseNumberVector>
Parameterization class. -
Uses of SparseNumberVector in elki.distance.minkowski
Methods in elki.distance.minkowski that return types with arguments of type SparseNumberVector Modifier and Type Method Description SimpleTypeInformation<? super SparseNumberVector>
SparseLPNormDistance. getInputTypeRestriction()
SimpleTypeInformation<? super SparseNumberVector>
SparseSquaredEuclideanDistance. getInputTypeRestriction()
Methods in elki.distance.minkowski with parameters of type SparseNumberVector Modifier and Type Method Description double
SparseEuclideanDistance. distance(SparseNumberVector v1, SparseNumberVector v2)
double
SparseLPNormDistance. distance(SparseNumberVector v1, SparseNumberVector v2)
double
SparseManhattanDistance. distance(SparseNumberVector v1, SparseNumberVector v2)
double
SparseMaximumDistance. distance(SparseNumberVector v1, SparseNumberVector v2)
double
SparseSquaredEuclideanDistance. distance(SparseNumberVector v1, SparseNumberVector v2)
double
SparseEuclideanDistance. norm(SparseNumberVector v1)
double
SparseLPNormDistance. norm(SparseNumberVector v1)
double
SparseManhattanDistance. norm(SparseNumberVector v1)
double
SparseMaximumDistance. norm(SparseNumberVector v1)
double
SparseSquaredEuclideanDistance. norm(SparseNumberVector v1)
-
Uses of SparseNumberVector in elki.index.invertedlist
Methods in elki.index.invertedlist with parameters of type SparseNumberVector Modifier and Type Method Description private void
InMemoryInvertedIndex. indexSparse(DBIDRef ref, SparseNumberVector obj)
Index a single (sparse) instance.private double
InMemoryInvertedIndex. naiveQuerySparse(SparseNumberVector obj, WritableDoubleDataStore scores, HashSetModifiableDBIDs cands)
Query the most similar objects, sparse version. -
Uses of SparseNumberVector in elki.itemsetmining
Methods in elki.itemsetmining with parameters of type SparseNumberVector Modifier and Type Method Description boolean
DenseItemset. containedIn(SparseNumberVector bv)
boolean
Itemset. containedIn(SparseNumberVector bv)
Test whether the itemset is contained in a bit vector.boolean
OneItemset. containedIn(SparseNumberVector bv)
boolean
SmallDenseItemset. containedIn(SparseNumberVector bv)
-