Data Mining Techniques (DMT) by Kushal Anjaria Session-2: Tid Items
Data Mining Techniques (DMT) by Kushal Anjaria Session-2: Tid Items
By Kushal Anjaria
Session-2
Let’s observe the following table and find out what IBM has General steps to generate association rules:
discovered from the data. ❑ Suppose, you have the form 𝑋 → 𝑌,
TID ITEMS ❑ First of all, you consider all items and all possible values
of X and Y.
1 Bread, Milk ❑ Based on these X and Y, try to make rules using support
and confidence.
2 Bread, Diaper, Beer, Eggs ❑ The initial form of such rules are known as candidate
rules.
3 Milk, Diaper, Beer, Coke ❑ Next you decide the threshold of confidence and support
values.
4 Bread, Milk, Diaper, Beer ❑ If for some pair of X and Y in the candidate rules,
confidence and support values are above threshold then
5 Bread, Milk, Diaper, Coke they are rules. Example: {Milk, Diaper} →{Beer}
❑ The confidence of rules generated from the same item set ❑ The rule-generation is shown in the figure-3. Examples
follows apriori property. In other words, confidence of the Apriori Algorithm is shown in figure-4 and
follows the apriori principle with respect to the number Figure-5
of items on the RHS part of the rule. E.g. {A, B, C, D} is