Lecture: Lecture 09 - Association Rules

Why compact representations matter

Frequent-itemset mining can return many overlapping itemsets. Compact representations reduce repetition while preserving useful information.

Maximal frequent itemsets

A frequent itemset is maximal if none of its larger supersets is frequent. It marks a boundary: the itemset is still common enough, but adding another item crosses the support threshold.

Example:

ItemsetSupport count
{A,B}3
{A,B,C}2
{A,B,C,D}1

With minsup = 2, {A,B,C} is maximal frequent because it is frequent and its larger extension is not.

Maximal itemsets are compact but do not preserve every smaller support count.

Closed itemsets

An itemset is closed if no larger superset has exactly the same support.

If {A} has support 3 and {A,B} also has support 3, {A} is not closed: B adds no new information about which transactions contain A. If {A,B} has support 3 and {A,B,C} has support 2, {A,B} is closed because adding C changes the support.

Closed itemsets preserve more support information than maximal itemsets while still removing redundant entries.

The relationship is:

maximal frequent ⊆ closed frequent ⊆ frequent

Generalization and taxonomies

A taxonomy organizes detailed items under broader ancestors:

Uric-acid examination → Kidney examination → Medical examination

Moving upward groups cases and usually increases support. It reduces detail; it does not add detail.

The source’s context example changes (John, 6:05 p.m., Weather) into (employee, 6–7 p.m., Weather). The generalized itemset covers more cases and has higher support, though it is less specific.

Rule levels

  • High-level: Liver examination → Kidney examination. Both sides are broad categories.
  • Cross-level: Liver examination → Uric-acid examination. One side is broad and the other specific.
  • Low-level: Specific liver test → Specific uric-acid test. Both sides are detailed.

The high-level rule may be frequent enough to discover a broad planning pattern. The low-level rule may support a targeted action but produce many sparse rules.

Common confusion

“Higher level” means higher abstraction, not greater detail. A kidney examination category includes several specific kidney tests; it is less precise than one named test.

Retrieval questions

Why is a maximal itemset more compact? It reports only frequent sets that cannot be extended, omitting many frequent subsets.

Why is a closed itemset useful? It removes a set only when a larger set has the same support, so the remaining collection retains more information about support changes.

Why generalize a rare itemset? Broader categories cover more transactions and may reveal a useful pattern hidden by a high support threshold.

Source

Elena Baralis and Silvia Chiusano, Association Rules Fundamentals, PDF pages 74-80 and 89-98. Added hierarchy diagrams and explanations are study clarifications.