Association Rule Mining (ARM)
•FrequentitemsetscanbeusedtogenerateassociationrulesoftheformX⇒Y,
whereXandYaresetsofitems.
•This rule suggests that buying of X makes it more likely that Y will also be
bought.
•Givenasetoftransactions,findrulesthatwillpredicttheoccurrenceofanitem
basedontheoccurrencesofotheritemsinthetransaction.
•ExampleofAssociationRules
{Diaper}→{Beer},
{Milk,Bread}→{Eggs,Coke},
{Beer,Bread}→{Milk},
Association Rule Mining Task
•AprioriPrinciple:Ifanitemsetisfrequent,thenallofitssubsetsmustalsobe
frequent.
•Aprioriprincipleholdsduetothefollowingpropertyofthesupportmeasure:
•Supportofanitemsetneverexceedsthesupportofitssubsets.
•Thisisknownastheanti-monotonepropertyofsupport.
•Apriorialsousesthedownwardclosureproperty.
•Apriorialgorithm generates candidates with smaller length k first and counts their
supports before generating candidates of length (k+1).
•The resulting frequent k-itemsetsare used to restrict the number of (k + 1)-
candidates with the downward closure property.