2. Introduction
● Association rules are used to discover patterns that occur within a given
dataset
● Association analysis is performed on large datasets, basically transaction
datasets such wholesale
Ex. dataset: https://archive.ics.uci.edu/ml/datasets/wholesale+customers
3. Representation
● Suppose that in a dataset we have several sales transactions, each of these
transaction consist of a set of sold items and every item sold in a transaction
can be identified by a code.
● A transaction of 4 items: {C,D,E,F}
● itemset: C,D > F
● C,D items are called Antecedent and F Consequent
13. Model min support and conf.
rules2 <- apriori (Transactions,
parameter = list(supp = 0.002, conf = 0.8))
# Build apriori model with Min Support as 0.002 and confidence as 0.6.
rules3 <- apriori (Transactions, parameter = list(supp = 0.001, conf = 0.6))
rules2
rules3