With shelf management we look at:
-items purchased by customers
A-Priori Steps:
-Count the occurrences
-Record the item counts
-Record the frequent items
-Generate Pairs
-Candidate pairs + occurrences (C2)
-Prune non frequent pairs (L2)
PCY uses hash tables in which can be more efficient. It counts pairs that hash to frequent buckets.
Pass 1:
-Counts items
-Creates hash
-hash pairs items into buckets and count
Pass 2:
-Converts count to bit-vector = frequent buckets
-Counts pairs that hash to frequent buckets
Pass 3:
-Generate triplets
-Prune non frequent
C. 30
b. Identify items that are bought together by sufficiently many customers
C. Support count pruning
A. Hash table
A. Proportional to the number of frequent items
True
True
True
False
True
True