Package smile.association
Class ItemSet
java.lang.Object
smile.association.ItemSet
A set of items. The support supp(X) of an item set X is defined as the
proportion of transactions in the data set which contain the item set.
In this class, the support is actually the raw frequency rather than the
ratio.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
items
public final int[] itemsThe set of items. -
support
public final int supportThe associated support of item set.
-
-
Constructor Details
-
ItemSet
public ItemSet(int[] items, int support) Constructor.- Parameters:
items
- The set of items.support
- The associated support value.
-
-
Method Details