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 voidAbstractKMeans. sparsePlusEquals(double[] sum, SparseNumberVector vec)Similar to VMath.plusEquals, but for sparse number vectors.private static voidAbstractKMeans. 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 interfaceSparseNumberVector.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 classBitVectorVector using a dense bit set encoding, based onlong[]storage.classSparseByteVectorSparse vector type, usingbyte[]for storing the values, andint[]for storing the indexes, approximately 5 bytes per non-zero value (limited to -128..+127).classSparseDoubleVectorSparse vector type, usingdouble[]for storing the values, andint[]for storing the indexes, approximately 12 bytes per non-zero value.classSparseFloatVectorSparse vector type, usingfloat[]for storing the values, andint[]for storing the indexes, approximately 8 bytes per non-zero value.classSparseIntegerVectorSparse vector type, usingint[]for storing the values, andint[]for storing the indexes, approximately 8 bytes per non-zero integer value.classSparseShortVectorSparse 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. FIELDInput data type: Sparse vector field.static VectorTypeInformation<SparseNumberVector>SparseNumberVector. VARIABLE_LENGTHInput data type: Sparse vectors with variable length.Methods in elki.data with parameters of type SparseNumberVector Modifier and Type Method Description static doubleVectorUtil. angleSparse(SparseNumberVector v1, SparseNumberVector v2)Compute the angle for sparse vectors.static doubleVectorUtil. angleSparseDense(SparseNumberVector v1, NumberVector v2)Compute the angle for a sparse and a dense vector.static doubleVectorUtil. dotSparse(SparseNumberVector v1, SparseNumberVector v2)Compute the dot product for two sparse vectors.static doubleVectorUtil. dotSparseDense(SparseNumberVector v1, double[] v2)Compute the dot product for a sparse and a dense vector.static doubleVectorUtil. 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_FIELDSparse vector field.static VectorTypeInformation<SparseNumberVector>TypeUtil. SPARSE_VECTOR_VARIABLE_LENGTHSparse 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 classInverseDocumentFrequencyNormalization<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 classSparseVectorFieldFilter<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 classLibSVMFormatParser<V extends SparseNumberVector>Parser to read libSVM format files.static classLibSVMFormatParser.Par<V extends SparseNumberVector>Parameterization class.classSparseNumberVectorLabelParser<V extends SparseNumberVector>Parser for parsing one point per line, attributes separated by whitespace.static classSparseNumberVectorLabelParser.Par<V extends SparseNumberVector>Parameterization class.classTermFrequencyParser<V extends SparseNumberVector>A parser to load term frequency data, which essentially are sparse vectors with text keys.static classTermFrequencyParser.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 doubleSparseEuclideanDistance. distance(SparseNumberVector v1, SparseNumberVector v2)doubleSparseLPNormDistance. distance(SparseNumberVector v1, SparseNumberVector v2)doubleSparseManhattanDistance. distance(SparseNumberVector v1, SparseNumberVector v2)doubleSparseMaximumDistance. distance(SparseNumberVector v1, SparseNumberVector v2)doubleSparseSquaredEuclideanDistance. distance(SparseNumberVector v1, SparseNumberVector v2)doubleSparseEuclideanDistance. norm(SparseNumberVector v1)doubleSparseLPNormDistance. norm(SparseNumberVector v1)doubleSparseManhattanDistance. norm(SparseNumberVector v1)doubleSparseMaximumDistance. norm(SparseNumberVector v1)doubleSparseSquaredEuclideanDistance. 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 voidInMemoryInvertedIndex. indexSparse(DBIDRef ref, SparseNumberVector obj)Index a single (sparse) instance.private doubleInMemoryInvertedIndex. 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 booleanDenseItemset. containedIn(SparseNumberVector bv)booleanItemset. containedIn(SparseNumberVector bv)Test whether the itemset is contained in a bit vector.booleanOneItemset. containedIn(SparseNumberVector bv)booleanSmallDenseItemset. containedIn(SparseNumberVector bv)
-