public class Itemsets extends Object implements Serializable, Cloneable
| Modifier and Type | Method and Description |
|---|---|
int[] |
getItemset(int i)
Returns a particular itemset.
|
int[][] |
getItemsetsMatrix()
Returns the set of itemsets as an integer matrix.
|
int |
getNumberOfItemsets()
Returns the number of itemsets in this
Itemsets. |
int |
getNumberOfTransactions()
Returns an
int indicating the number of transactions
used to construct the itemsets. |
double |
getSupport(int i)
Returns the support determined for a particular itemset.
|
void |
print()
Prints a standard representation of the members of this object.
|
public int[] getItemset(int i)
i - an int indicating which itemset to retrieve.int array that contains the
ith itemset.public int[][] getItemsetsMatrix()
int matrix of dimension k by
j+1, where k is the number of frequent
itemsets and j is the number of frequent items. The
first j columns are binary indicators that identify
the items in each set. The final column contains the support for
the itemset.public int getNumberOfItemsets()
Itemsets.int specifying the number of itemsets in this
Itemsets.public int getNumberOfTransactions()
int indicating the number of transactions
used to construct the itemsets.int indicating the number of transactions
used to construct the itemsets.public double getSupport(int i)
i - an int indicating which itemset to retrieve the
support for.double that specifies the support determined for
the ith itemset.public void print()
Copyright © 1970-2015 Rogue Wave Software
Built March 24 2015.