Lably
Skip to content

Association rule learning

Method for discovering interesting relations between variables in databases

  • 21 min read
  • 8 chapters

Related on Lably

Through Data mining, Power set and Conditional probability

Based on the concept of strong rules, Rakesh Agrawal, Tomasz Imieliński and Arun Swami introduced association rules for discovering regularities between products in large-scale transaction data recorded by point-of-sale (POS) systems in supermarkets. For example, the rule {onions,potatoes}⇒{burger} found in the sales data of a supermarket would indicate that if a customer buys onions and potatoes together, they are likely to also buy hamburger meat. Such information can be used as the basis for decisions about marketing activities such as, e.g., promotional pricing or product placements.

In addition to the above example from market basket analysis, association rules are employed today in many application areas including Web usage mining, intrusion detection, continuous production, and bioinformatics. In contrast with sequence mining, association rule learning typically does not consider the order of items either within a transaction or across transactions.

The association rule algorithm itself consists of various parameters that can make it difficult for those without some expertise in data mining to execute, with many rules that are arduous to understand.

Definition

Following the original definition by Agrawal, Imieliński, Swami the problem of association rule mining is defined as:

Let I={i1,i2,…,in} be a set of n binary attributes called items.

Let D={t1,t2,…,tm} be a set of transactions called the database.

Each transaction in D has a unique transaction ID and contains a subset of the items in I.

A rule is defined as an implication of the form:

X⇒Y, where X,Y⊆I.

In Agrawal, Imieliński, Swami a rule is defined only between a set and a single item, X⇒ij for ij∈I.

Every rule is composed by two different sets of items, also known as itemsets, X and Y, where X is called antecedent or left-hand-side (LHS) and Y consequent or right-hand-side (RHS). The antecedent is that item that can be found in the data while the consequent is the item found when combined with the antecedent. The statement X⇒Y is often read as if X then Y, where the antecedent (X ) is the if and the consequent (Y) is the then. This simply implies that, in theory, whenever X occurs in a dataset, then Y will as well.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Computing and communication