DATA MINING Using Association Rules by Andrew Williamson.

14
DATA MINING Using Association Rules by Andrew Williamson

Transcript of DATA MINING Using Association Rules by Andrew Williamson.

Page 1: DATA MINING Using Association Rules by Andrew Williamson.

DATA MINING

Using Association Rules

by

Andrew Williamson

Page 2: DATA MINING Using Association Rules by Andrew Williamson.

What is Data Mining?• A.K.A. – Knowledge Discovery in DataBases (KDD)

• “Data mining is the automated extraction of hidden predictive information from databases. Data mining software allows users to analyze large databases. This can enable you to solve business decision problems, for data mining as an extension of statistics; while it doesn't solve your problems, it is the technology that can find your problems. You can build a predictive model of an ideal customer from your own databases and, using this information, build your marketing strategy or even determine the creation of new products and services.”

• - www.biz-services-savvy.com

Page 3: DATA MINING Using Association Rules by Andrew Williamson.

• In short “Data mining can be defined as, “the non-trivial extraction of implicit, previously unknown, and potentially useful information from data” ”.

Page 4: DATA MINING Using Association Rules by Andrew Williamson.

An example of Association

“A simple example of data mining is its use in a retail sales department. If a store tracks the purchases of a customer and notices that a customer buys a lot of silk shirts, the data mining system will make a correlation between that customer and silk shirts…

Page 5: DATA MINING Using Association Rules by Andrew Williamson.

Association example cont.

…The sales department will look at that information and may begin direct mail marketing of silk shirts to that customer, or it may alternatively attempt to get the customer to buy a wider range of products. In this case, the data mining system used by the retail store discovered new information about the customer that was previously unknown to the company. “

• - wikipedia.org

Page 6: DATA MINING Using Association Rules by Andrew Williamson.

Association Rules

• Using Association Rules, X Y, helps to identify shopping trends over a given amount of time

• 1) Support

• 2) Confidence

Page 7: DATA MINING Using Association Rules by Andrew Williamson.

Association Rules Cont.

• 1) Support

– The ratio of transactions that contain both an item X and an item Y, over all transactions.

• P(X U Y)

– Measures the significance of the given rule.

Page 8: DATA MINING Using Association Rules by Andrew Williamson.

Association Rules..

• 2) Confidence

– The ratio of transactions containing X, and also contains Y.

• P(X U Y) / P( X )

– Measures the strength of the correlation of the given rule.

Page 9: DATA MINING Using Association Rules by Andrew Williamson.

Association Rules…

• The Association rules X Y with a support and confidence ratio of 50% or more are considered to be meaningful and therefore are kept, otherwise the rule will be discarded or ignored.

Page 10: DATA MINING Using Association Rules by Andrew Williamson.

2 Phases of Association Rules

• When considering an association rule to examine follow these 2 steps:

• Phase 1– List together all rules with a high support ratio.– A.K.A. – The Frequent Itemset.

• Phase 2– List together all rules with a high Confidence ratio

from the Frequent Itemset group.

Page 11: DATA MINING Using Association Rules by Andrew Williamson.

Extended Association Rules

• Standard Association Rules express a correlation between values of a single dimensional schema.

• While, more meaningful associations may be discovered when incorporating multi - dimensional schemas

Page 12: DATA MINING Using Association Rules by Andrew Williamson.

Extended Association Rules cont.

• A Simple Example:

– Sleeping bags Tents• This alone, seems obvious and not useful.

– Sleeping bags Tents ( region=north, season=summer)

• more meaningful incorporating region and season of transactions.

Page 13: DATA MINING Using Association Rules by Andrew Williamson.

Extended Association Rules cont..

• More meaningful information may be associated by augmenting the original Association Rules

– X Y (Z)

• Transactions which satisfy Z and contain X, are more likely to contain Y as well.

Page 14: DATA MINING Using Association Rules by Andrew Williamson.

Work Cited

• www.wikipedia.org

• http://www.biz-services-savvy.com

• http://sba.luc.edu

• http://www-128.ibm.com