SlideServe
Menu
Préférences
© SlideServe · v2026

Association Rules

cassady-roy avatar
17 diapositives · 367 Views · Nov 27, 2014

Association Rules. Spring 2010. Data Mining: What is it?. Two definitions: The first one, classic and well-known, says that data mining is the nontrivial extraction of implicit, previously unknown, and potentially useful information from data (W. Frawley)

Association Rules - slide 1
01 / 17Association Rules
1 / 17

Télécharger la présentation

Association Rules
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Association Rules Spring 2010

  2. Data Mining: What is it? • Two definitions: • The first one, classic and well-known, says that data mining is the nontrivial extraction of implicit, previously unknown, and potentially useful information from data (W. Frawley) • The second one, spark and rebel, says that data mining is nothing else than torturing the data until it confesses… and if you torture it enough, you can get it to confess to anything (Fred Menger).

  3. Data mining techniques • Association Rules • Classification • Prediction • Clustering

  4. What is Association mining? Finding frequent patterns, associations, or casual structures among sets of items or objects in transaction databases, relational databases, and other information repositories. Searches for relationships between variables. For example a supermarket might gather data on customer purchasing habits. Using association rule learning, the supermarket can determine which products are frequently bought together and use this information for marketing purposes. This is sometimes referred to as market basket analysis. Applications Basket Data Analysis Cross-marketing Catalog design …

  5. Introduction to Association Rules (AR) • Ideas came from the market basket analysis (MBA) • What do customers buy? • Which products are bought together? AIM: • Find association and correlations between the different items that customers place in their shopping basket.

  6. Some definitions in AR Pattern: • A particular data behavior, arrangement or form that might be of a business interest Itemset: • A set of items, a group of elements that represents together a single entity. It is actually a type of pattern.

  7. Some definitions in AR (cntd.) • Transaction database T • A set of transactions T = {T1 ,T2,…, Tn } • Itemset • Each transaction contains a set of items I(Itemset) • An Itemset is a collection of items I = {I1, I2, ..., In}

  8. AR General Aim • Find frequent/interesting patterns, associations, correlations, or casual structures among set of items or elements in databases or other information repositories. • An AR is an implication of two itemsets: • X => y

  9. AR (contd.) Frequent itemsets: items that frequently appear together. Example • Bread => peanut-butter • I = {bread, peanut-butter}

  10. An Interesting Rule • Support count (σ): • Frequency of occurrence of an itemset • σ {bread, peanut-butter} = 3 • Support: • Fraction of transactions that contain an itemset • S {bread, peanut-butter} = 3/5

  11. AR (contd.) The two most used measures of interest: • Support(s): the occurring frequency of the rule, i.e. the number of transactions that contain both X and Y • S = σ (X union Y) / # of transactions • Confidence(s): the strength of the association, i.e. measures of how often items in Y appear in transactions that contain X. • C = σ (X union Y) / σ (X)

  12. AR (contd.)

  13. Types of AR • Binary Association Rules • Quantitative Association Rules • Fuzzy Association Rules Let’s start from the beginning: • Binary Association Rules, A-priori

  14. A-priori algorithm • Priori is the most influential AR miner • It consist of two steps: • Generate all frequent itemsets whose support >= minimum support. • Use frequent itemsets to generate association rules.

  15. A-priori (contd.) • Key Idea: • Downward closure property: • Any subsets of a frequent itemset are also frequent itemsets. • The algorithm iteratively does: • Create itemsets • Only continue exploration of those whose support >= minimum support

  16. Back to our example (minsup = 3)

  17. Example (minsup = 2)