Docsity

FP Tree - Association Rule Mining, Slides of Data Mining

Partial preview of the text

Download FP Tree - Association Rule Mining and more Slides Data Mining in PDF only on Docsity!

Correlation Analysis

Which Patterns Are Interesting?—Pattern

Evaluation Methods

  • Most association rule mining algorithms

employ a support–confidence framework

  • many of the rules generated are still not

interesting to the users.

  • true when mining at low support thresholds or

mining for long patterns

  • buys ( X , “ computer games ”)) => buys ( X ,

“ videos ”) [ support = 40 %, confidence = 66 %]

  • Support value of Computer games

4,000/10,000 =40% and confidence value of

  • Probability of purchasing videos is 75%, which

is even larger than 66%.

  • computer games and videos are negatively

associated

  • Alternatives to the support-confidence

framework can be useful in mining interesting

data relationships

Correlation Measure

  • Lift
  • The lift between the occurrence of A and B can be measured by computing
  • The occurrence of itemset A is independent of the occurrence of itemset B if P ( A U B ) = P ( A ) P ( B ); otherwise, itemsets A and B are dependent and correlated as events.
  • Lift (A,B) < 1

--- occurrence of A is negatively correlated with the

occurrence of B.

  • Lift (A,B) > 1

--- A and B are positively correlated , meaning that

the occurrence of one implies the occurrence

  • Lift (A,B) = 1

---A and B are independent and there is no

correlation between them

  • P ( game ) = 0.
  • P ( video ) = 0.
  • probability of purchasing both
  • P ( game , video ) = 0.40.
  • Lift of Rule = P ( game , video )/( P ( game ) P ( video ))
  • = 0:40/(0.6 *0.75) = 0.89.
  • Because this value is less than 1, there is a

negative correlation between the occurrence of game and video.

Calculate lift for Tea => Coffee

  • Chi Square value > 1
  • Observed value of the slot ( game , video ) = 4,000, which is less than the expected value 4,
  • buying game and buying video are negatively correlated.

All_Confidence