Uses of Class
elki.data.BitVector
-
Packages that use BitVector Package Description elki.data Basic classes for different data types, database object types and label types.elki.data.type Data type information, also used for type restrictions.elki.datasource.parser Parsers for different file formats and data types.elki.itemsetmining Algorithms for frequent itemset mining such as APRIORI.elki.itemsetmining.associationrules Association rule mining.elki.result Result types, representation and handling. -
-
Uses of BitVector in elki.data
Fields in elki.data with type parameters of type BitVector Modifier and Type Field Description static ByteBufferSerializer<BitVector>
BitVector. SHORT_SERIALIZER
Serializer for up to 2^15-1 dimensions.Methods in elki.data that return BitVector Modifier and Type Method Description BitVector
BitVector.ShortSerializer. fromByteBuffer(java.nio.ByteBuffer buffer)
<A> BitVector
BitVector.Factory. newFeatureVector(A array, ArrayAdapter<? extends java.lang.Number,A> adapter)
<A> BitVector
BitVector.Factory. newNumberVector(A array, NumberArrayAdapter<?,? super A> adapter)
BitVector
BitVector.Factory. newNumberVector(it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap values, int maxdim)
Methods in elki.data that return types with arguments of type BitVector Modifier and Type Method Description ByteBufferSerializer<BitVector>
BitVector.Factory. getDefaultSerializer()
java.lang.Class<? super BitVector>
BitVector.Factory. getRestrictionClass()
Methods in elki.data with parameters of type BitVector Modifier and Type Method Description int
BitVector.ShortSerializer. getByteSize(BitVector vec)
int
BitVector. hammingDistance(BitVector v2)
Compute the Hamming distance of two bit vectors.boolean
BitVector. intersect(BitVector v2)
Compute whether two vectors intersect.int
BitVector. intersectionSize(BitVector v2)
Compute the vector intersection size.double
BitVector. jaccardSimilarity(BitVector v2)
Compute the Jaccard similarity of two bit vectors.void
BitVector.ShortSerializer. toByteBuffer(java.nio.ByteBuffer buffer, BitVector vec)
int
BitVector. unionSize(BitVector v2)
Compute the vector union size. -
Uses of BitVector in elki.data.type
Fields in elki.data.type with type parameters of type BitVector Modifier and Type Field Description static VectorTypeInformation<BitVector>
TypeUtil. BIT_VECTOR
Input type for algorithms that require bit vectors.static VectorFieldTypeInformation<BitVector>
TypeUtil. BIT_VECTOR_FIELD
Input type for algorithms that require bit vector fields. -
Uses of BitVector in elki.datasource.parser
Fields in elki.datasource.parser declared as BitVector Modifier and Type Field Description (package private) BitVector
SimpleTransactionParser. curvec
Current vector. -
Uses of BitVector in elki.itemsetmining
Methods in elki.itemsetmining with parameters of type BitVector Modifier and Type Method Description private boolean
APRIORI. initializeSearchItemset(BitVector bv, int[] scratchi, int[] iters)
Initialize the scratch itemset.private boolean
APRIORI. nextSearchItemset(BitVector bv, int[] scratchi, int[] iters)
Advance scratch itemset to the next.Method parameters in elki.itemsetmining with type arguments of type BitVector Modifier and Type Method Description java.lang.StringBuilder
DenseItemset. appendItemsTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
java.lang.StringBuilder
Itemset. appendItemsTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
Only append the items to a string buffer.java.lang.StringBuilder
OneItemset. appendItemsTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
java.lang.StringBuilder
SmallDenseItemset. appendItemsTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
java.lang.StringBuilder
Itemset. appendTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
Append items and support to a string buffer.private FPGrowth.FPTree
FPGrowth. buildFPTree(Relation<BitVector> relation, int[] iidx, int items)
Build the actual FP-tree structure.protected java.util.List<SparseItemset>
APRIORI. buildFrequentTwoItemsets(java.util.List<OneItemset> oneitems, Relation<BitVector> relation, int dim, int needed, DBIDs ids, ArrayModifiableDBIDs survivors)
Build the 2-itemsets.private DBIDs[]
Eclat. buildIndex(Relation<BitVector> relation, int dim, int minsupp)
private int[]
FPGrowth. countItemSupport(Relation<BitVector> relation, int dim)
Count the support of each 1-item.private java.lang.StringBuilder
APRIORI. debugDumpCandidates(java.lang.StringBuilder msg, java.util.List<? extends Itemset> candidates, VectorFieldTypeInformation<BitVector> meta)
Debug method: output all itemsets.protected java.util.List<? extends Itemset>
APRIORI. frequentItemsets(java.util.List<? extends Itemset> candidates, Relation<BitVector> relation, int needed, DBIDs ids, ArrayModifiableDBIDs survivors, int length)
Returns the frequent BitSets out of the given BitSets with respect to the given database.protected java.util.List<SparseItemset>
APRIORI. frequentItemsetsSparse(java.util.List<SparseItemset> candidates, Relation<BitVector> relation, int needed, DBIDs ids, ArrayModifiableDBIDs survivors, int length)
Returns the frequent BitSets out of the given BitSets with respect to the given database.FrequentItemsetsResult
APRIORI. run(Relation<BitVector> relation)
Performs the APRIORI algorithm on the given database.FrequentItemsetsResult
Eclat. run(Relation<BitVector> relation)
Run the Eclat algorithmFrequentItemsetsResult
FPGrowth. run(Relation<BitVector> relation)
Run the FP-Growth algorithm -
Uses of BitVector in elki.itemsetmining.associationrules
Fields in elki.itemsetmining.associationrules with type parameters of type BitVector Modifier and Type Field Description private VectorFieldTypeInformation<BitVector>
AssociationRuleGeneration.Instance. meta
Metadata for printing.Method parameters in elki.itemsetmining.associationrules with type arguments of type BitVector Modifier and Type Method Description java.lang.StringBuilder
AssociationRule. appendTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
Append to a string buffer. -
Uses of BitVector in elki.result
Fields in elki.result with type parameters of type BitVector Modifier and Type Field Description private VectorFieldTypeInformation<BitVector>
AssociationRuleResult. meta
Metadata of the data relation, for item labels.private VectorFieldTypeInformation<BitVector>
FrequentItemsetsResult. meta
Metadata of the data relation, for item labels.Methods in elki.result that return types with arguments of type BitVector Modifier and Type Method Description VectorFieldTypeInformation<BitVector>
AssociationRuleResult. getMeta()
Returns Metadata of the data relation, for item labels.VectorFieldTypeInformation<BitVector>
FrequentItemsetsResult. getMeta()
Get the metadata used for serialization.Constructor parameters in elki.result with type arguments of type BitVector Constructor Description AssociationRuleResult(java.util.List<AssociationRule> rules, VectorFieldTypeInformation<BitVector> meta)
Constructor.FrequentItemsetsResult(java.util.List<Itemset> itemsets, VectorFieldTypeInformation<BitVector> meta, int total)
Constructor.
-