Docsity

Association Rules: Uncovering Hidden Patterns in Data, Exams of Data Mining

Toggle sidebar
bg1
Sheet Section #7
1. Association Rules is a/an ……. learning method.
a. Supervised
b. Unsupervised
c. Prediction
d. None of the above
Answer: b
2. The left hand side of an association rule is called …….
a. Consequent
b. Onset
c. Antecedent
d. Precedent
Answer: c
3. This approach is best when we are interested in finding all possible relations and
interactions among a set of attributes.
a. Decision tree
b. Association rules
c. K-Means algorithm
d. Genetic learning
Answer: b
4. Given a rule of the form IF X THEN Y, rule confidence is defined as the conditional
probability that ….
a. Y is true when X is known to be true.
b. X is true when Y is known to be true.
c. Y is false when X is known to be false.
d. X is false when Y is known to be false.
Answer: a
5. What does Apriori algorithm do?
a. mines all frequent patterns through pruning rules with lesser support
b. It mines all frequent patterns through pruning rules with higher support
c. Both a and b
d. None of the above
Answer: a
6 .Consider the data set shown in the Table. Compute the support and confidence for items
Socks ⇒ Tie by treating each transaction ID as a market basket
TIDList of Items
TX1Shoes,Socks,Tie
TX2Shoes,Socks,Tie,Belt,Shirt
TX3Shoes,Tie
TX4Shoes,Socks,Belt
Answer:
pf3

Partial preview of the text

Download Association Rules: Uncovering Hidden Patterns in Data and more Exams Data Mining in PDF only on Docsity!

Sheet Section#

  1. Association Rules is a/an ……. learning method.

a. Supervised

b. Unsupervised

c. Prediction

d. None of the above

Answer: b

  1. The left hand side of an association rule is called …….

a. Consequent

b. Onset

c. Antecedent

d. Precedent

Answer: c

  1. This approach is best when we are interested in finding all possible relations and

interactions among a set of attributes.

a. Decision tree

b. Association rules

c. K-Means algorithm

d. Genetic learning

Answer: b

  1. Given a rule of the form IF X THEN Y, rule confidence is defined as the conditional

probability that ….

a. Y is true when X is known to be true.

b. X is true when Y is known to be true.

c. Y is false when X is known to be false.

d. X is false when Y is known to be false.

Answer: a

  1. What does Apriori algorithm do?

a. mines all frequent patterns through pruning rules with lesser support

b. It mines all frequent patterns through pruning rules with higher support

c. Both a and b

d. None of the above

Answer: a

Consider the data set shown in the Table. Compute the support and confidence for items. 6

Socks ⇒ Tie by treating each transaction ID as a market basket

List of Items TID

Shoes,Socks,Tie TX

Shoes,Socks,Tie,Belt,Shirt TX

Shoes,Tie TX

Shoes,Socks,Belt TX

: Answer

Support is 50% (2/4)

Confidence is 66.67% (2/3)

:Consider the data Transactions in the table below. 7

a) Find all frequent itemsets with support as 0.6?

b) Find all strong association rules given the support is 0.6 and confidence is 0.8.

Trans ID List of Items

1 I1, I2, I3, I4, I5, I

2 I7, I2, I3, I4, I5, I

3 I1, I8, I4, I

4 I1, I9, I10, I4, I

5 I10, I2, I4, I11, I

: Answer

a) {I1}, {I2}, {I4}, {I5}, {I6}, {I1, I4}, {I2, I4}, {I2, I5}, {I4, I5}, {I4, I6}, {I2, I4, I5}

b) {I2, I4} → {I5}, {I2, I5} → {I4}

  1. Association rule finds interesting correlation relationships among a large set of data

items which is used for decision-making processes.

a. True

b. False

Answer: a

  1. For itemsets X ⇒Y, Support S measures of how often items in Y appear in

transactions that contain X

a. True

b. False

Answer: b

  1. How do you calculate Confidence (A ⇒B)?

a. Support (A ꓵ B)/ Support (A)

b. Support (A ꓵ B)/ Support (B)

c. Support (A

B) / Support (A)

d. Support (A

B) / Support (B)

Answer: a

  1. Association rule support is defined as

a. the percentage of instances that contain the antecendent conditional items listed in

the association rule.

b. the percentage of instances that contain the consequent conditions listed in the

association rule.

c. the percentage of instances that contain all items listed in the association rule.

d. the percentage of instances in the database that contain at least one of the

antecendent conditional items listed in the association rule.

Answer: c

  1. The first step in Apriori algorithm is to Create set of association rule using generated

item set

a. True

b. False