FP GROWTH
FP GROWTH
Among the itemsets residing near the border, {a, d}, {a, c, e}, and {b, c, d, e} are considered
to be maximal frequent itemsets because their immediate supersets are infrequent.
An itemset such as {a, d} is maximal frequent because all of its immediate supersets, {a, b,
d}, {a, c, d}, and {a, d, e}, are infrequent.
In contrast, {a, c} is non-maximal because one of its immediate supersets, {a, c, e}, is
frequent.
Maximal frequent itemsets effectively provide a compact representation of frequent
itemsets.
For example, since the node {b, c} is associated with transaction IDs 1,
2, and 3, its support count is equal to three.
From the transactions given in this diagram, notice that every
transaction that contains b also contains c.
Consequently, the support for {b} is identical to {b, c} and {b} should
not be considered a closed itemset.
Similarly, since c occurs in every transaction that contains both a and d,
the itemset {a, d} is not closed.
On the other hand, {b, c} is a closed itemset because it does not have
the same support count as any of its supersets.