Data Mining - Association Rules Flashcards

1
Q

What are itemsets in association rules?

A

Possible combinations of items. Not necessarily what people buy.
-> It can also be a single item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are Rules represented?

A

IF-THEN format.

If -> antecedent
Then -> consequent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which two steps are there in association rules process

A
  1. Generation of Frequent Item sets (apriori)

2. Selecting strong rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are frequent item sets?

A

You can not check all combinations of items. Therefore, we only look at the frequent item sets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the criterion for frequent item sets?

A

Support

Support(A and C) = frequency (A and C)

Easy computation: you look in your table how often that itemset is there in the records.

  • You can divide by the total number of records in the table to get a percentage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does the process of generating the most frequent item set go?

A

You set a minimum suport.
You check for single item item sets. above that support.
Then you check for double item item sets above that support and so on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you measure how strong those associations are?

A
  1. Support
  2. Confidence
  3. Lift
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you calculate confidence?

A

Frequency A and C happen / Frequency A happens

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you calculate lift?

A

Confidence / (frequency C / n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does a lift of > 1 indicate?

A

There is a dependent relation between the antecedent and consequent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does a lift of <1 indicate?

A

The presence of the antecedent has a negative effect on the presence of the consequent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does a lift of approx 1 indicate?

A

The antecedent and consequent are independent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly