Lesson 1
Lesson 1
Passed
1 / 1 points
Given the transactions in Table 1, mini-support (minsup) s = 50%, which of the following is not a
frequent itemset?
A. {Beer, Diapers}
B. {Coffee}
C. {Beer}
D. {Eggs}
1 / 1 points
1 / 1 points
3. Consider the database containing the transaction T1 : {a1, a2, a3}, T2 : {a2, a3, a4}, T3 : {a1,a3, a4}.
Let mini-support (minsup) = 2. Which of the following frequent patterns is closed?
A. {a2}
B. {a1}
C. {a1, a3}
D. {a4}
1 / 1 points
4. Consider the database containing the transactions T1 : {a1, ..., a3}, T2 : {a2, ..., a4}. Letminsup = 1.
What fraction of all frequent patterns is max frequent patterns?
A. 1⁄11
B. 2⁄11
C. 1⁄3
E. 3⁄11
1
point
5. Rank the following sets by their cardinality for a given database: {all frequent patterns}, {closed
frequent patterns}, and {max frequent patterns}.
C. {all frequent patterns} ≥ {max frequent patterns} = {closed frequent patterns}, i.e. the set of max
frequent patterns and the set of closed frequent patterns are identical.
D. {all frequent patterns} ≥ {max frequent patterns}, {all frequent patterns} ≥ {closed frequent
patterns}, but the order of {max frequent patterns} and {closed frequent patterns} cannot be
determined without further information.
1
point
Given the transaction in Table 1 and mini-support (minsup) s = 40%, which of the following is a length-3
frequent item set?
1 / 1 points
A. {Beer} ⇒{Diapers}
C. {Diapers} ⇒{Nuts}
D. {Nuts} ⇒{Diapers}
E. {Diapers} ⇒{Beer}
1 / 1 points
8. Consider the database containing the transaction T1 : {a1, a2, a3}, T2 : {a2, a3, a4}, T3 : {a1,a3, a4}.
Let mini-support (minsup) = 2. Which of the following frequent patterns is NOT closed?
A. {a2}
B. {a1, a3}
C. {a3}
D. {a3, a4}
1 / 1 points
9. Consider the database containing the transactions T1 : {a1, a2, a3, a4, a5}, T2 : {a2, a3, a4, a5,a6}. Let
minsup = 1. Which of the following is both a max frequent and a closed frequent pattern? Select all that
apply.
{a2, a5}
1
point
10. Given the set of closed frequent patterns, we can ___________. Select all that apply.
Recover all transactions in the database
Recover the set of all frequent patterns and their support in some situations but not all
Always recover the set of all frequent patterns and their support
1
point
Given the transactions in Table 1, mini-support (minsup) s= 50%, and minconf c = 50%, which of the
following is an association rule? Select all that apply.
Nuts ⇒Eggs
Coffee ⇒Milk
Diapers ⇒Eggs
Nuts ⇒Diapers
Beer ⇒Nuts
1 / 1 points
A. The set of closed frequent patterns is always the same as the set of max frequent patterns.
B. Since both closed and max frequent patterns are a subset of all frequent patterns, we cannot
recover all frequent patterns and their supports given just the closed and max frequent patterns.
C. Closed frequent patterns can always be determined from the set of max frequent patterns.
D. We can recover all frequent patterns and their supports from the set of max frequent patterns.
E. We can recover all frequent patterns and their supports from the set of closed frequent patterns.
13. Table 1: Transactions from a database
Given the transactions in Table 1, what is the confidence and relative support of the association rule
{Diapers} ⇒{Coffee, Nuts}?