Introduction to Data Mining

<<< Previous    Up    Next >>>

Lesson 6.6.2

APRIORI's Rule derivation

 

Rule Derivation

    Frequent itemsets do no mean association rules. One more step is required to convert these frequent itemsets into rules.

Association Rules can be found from every frequent itemset X as follows:

    For every non-empty subset A of X

  1. Let B = X - A.

  2. A Þ  B is an association rule if

bullet

confidence(A Þ B) ≥ minConf.

where, confidence (A Þ  B) = support (AB) / support (A), and

                  support(A Þ  B) = support(AB).            

             

Example for deriving rules

    Suppose X = 234 is a frequent itemset, with minSupp = 50%.

  1. Proper non-empty subsets of X are: 23, 24, 34, 2, 3, 4 with supports = 50%, 50%, 75%, 75%, 75%, and 75%, respectively.

  2. The association rules from these subsets are:

bullet

    23 Þ 4.                    confidence = 100%.

bullet

    24 Þ 3.                    confidence = 100%.

bullet

    34 Þ 2.                    confidence = 67%.

bullet

    2 Þ 34.                    confidence = 67%.

bullet

    3 Þ 24.                    confidence = 67%.

bullet

    4 Þ 23.                    confidence = 67%.

All rules have a support = 50%.

 

    In order to derive an association rule A Þ B, we need to have support(AB) and support(A). This step is not as time consuming as the frequent itemset generation. It can also be speeded by using parallel processing techniques, as rules generated from one frequent itemset do not affect the rules generated from any other frequent itemset.

 

<<< Previous    Up    Next >>>