smile.association
Class ItemSet
- java.lang.Object
-
- smile.association.ItemSet
-
public class ItemSet extends java.lang.ObjectA 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
Fields Modifier and Type Field and Description int[]itemsThe set of items.intsupportThe associated support of item set.
-
Constructor Summary
Constructors Constructor and Description ItemSet(int[] items, int support)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-
DataMelt 3.0 © DataMelt by jWork.ORG