imsl.data_mining.FrequentItemSets.frequency¶
- FrequentItemSets.frequency(x)¶
Count the frequency of each itemset in a transaction data set.
Parameters: x : (n, 2) array_like
An array of transaction ID and item ID pairs.
Returns: ndarray
An array containing the number of occurrences of each candidate itemset in x.