Week 1 Quiz Answer
Lesson 1 Quiz
which of the following isnot a frequent itemset?
- {Coffee}
- {Beer}
- {Eggs}
- {Beer, Diapers}
relative support of the association rule {Diapers} ⇒ {Coffee,
Nuts}?
- support s = 0.4, confidence c = 0.5
- support s = 0.8, confidence c = 0.5
- support s = 0.4, confidence c = 1
- support s = 0.8, confidence c = 1
- None of the above
T2 : {a2, a3, a4}, T3 : {a1,a3, a4}. Let mini-support (minsup) = 2.
Which of the following frequent patterns is closed?
- {a2}
- {a1}
- {a1, a3}
- {a4}
T2 : {a2, …, a4}. Letminsup = 1. What fraction of all frequent
patterns is max frequent patterns?
- 1/11
- 2/11
- 1/3
- There are no max frequent patterns for the given minsup.
- 3/11
{all frequent patterns}, {closed frequent patterns}, and {max frequent
patterns}.
- {all frequent patterns} ≥ {closed frequent patterns} ≥ {max frequent
patterns}
- {all frequent patterns} ≥ {max frequent patterns} ≥ {closed frequent
patterns}
- {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.
- {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.
- Ranking is impossible without further information.
which of the following is a length-3 frequent item set?
- Beer, Nuts, Eggs
- Beer, Coffee, Milk
- Coffee, Diapers, Eggs
- Beer, Nuts, Diapers
and minconfthresholds. Given the transactions in Table 1, mini-support
(minsup)s = 50%, andminconf c = 50%, which of the following is not a
strong association rule?
- {Beer} ⇒ {Diapers}
- {Beer, Nuts} ⇒ {Diapers}
- {Diapers} ⇒ {Nuts}
- {Nuts} ⇒ {Diapers}
- {Diapers} ⇒ {Beer}
T2 : {a2, a3, a4}, T3 : {a1,a3, a4}. Let mini-support (minsup) = 2.
Which of the following frequent patterns is NOT closed?
- {a2}
- {a1, a3}
- {a3}
- {a3, a4}
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, a3, a4, a5}
- {a2, a5}
- {a1, a2, a3, a4, a5}
- {a2, a3, a4, a5, a6}
- {a1, a2, a3, a4, a5, a6}
all that apply.
- Recover all transactions in the database
- Find the set of max frequent patterns
- 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
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
- The set of closed frequent patterns is always the same as the set of
max frequent patterns.
- 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.
- Closed frequent patterns can always be determined from the set of
max frequent patterns.
- We can recover all frequent patterns and their supports from the set
of max frequent patterns.
- We can recover all frequent patterns and their supports from the
set of closed frequent patterns.
relative support of the association rule {Diapers} ⇒ {Coffee,
Nuts}?
- support s = 0.4, confidence c = 0.5
- support s = 0.8, confidence c = 0.5
- support s = 0.4, confidence c = 1
- support s = 0.8, confidence c = 1
- None of the above
Lesson 2 Quiz
following numbers are the possible supports of itemset {a, b, c}?
Select all that apply.
- 11
- 9
- 10
itemset {a, b, c} is 30, which of the following numbers are the
possible supports of itemset {a, b}? Select all that apply.
- 10
- 5
- 30
- 100
- 50
(i.e., containing 2 items, e.g. {A, B}) frequent itemsets. They are
{A, B}, {A, C}, {A, D}, {B, C}, {B, E}, and {C, E}. In the following
size-3 itemsets, which of them should be considered, i.e., have
potential to be size-3 frequent itemsets? Select all that apply.
- {A, B, D}
- {A, C, D}
- {B, C, E}
- {A, B, C}
have in total?
- 4
- 5
- 3
- 1
- 2
itemset {a, b, c} is 10, which of the following numbers are the
possible supports of itemset {a, b}? Select all that apply.
- 5
- 10
- 50
- 30
- 100
total. In the 1st scan, we find out all frequent items A, B, C, and E.
How many size-2 (i.e., containing 2 items, e.g. A, B) itemsets should
be considered in the 2nd scan, i.e., have potential to be size-2
frequent itemsets? Select all that apply.
- 10
- 25
- 4
- 6
is in the f-conditional database? Select all that apply.
- {c, a, b, m} : 1
- {c, b, p} : 1
- {b} : 1
- {c, a, m, p} : 2
Extra Question
mining? Select all that apply.
- Data entry.
- Data Cleaning.
frequent 3-itemsets are there?
- 0
thresholds. Given the transactions in Table 1, minsup s = 50%, and
minconf c = 50%, how many strong association rules are there? Note
that the association rule A => B and B => A are distinct.
- 6
50%, which of the following is an association rule? Select all that
apply.
- Beer => Nuts
- Nuts => Diaper
T2 : {a1, …, a1}, T3 : {a3, …, a7}, T4 : {a4, …, a8}. For what
value of minsup do we have the most number of closed frequent
patterns?
- minsup = 1
T2 : {a2, …, a4}. Let minsup = 1. What fraction of all frequent
patterns is max frequent patterns?
- 2/11
T2 : {a2, a3, a4}. Let minsup = 1. What fraction of all frequent
patterns is closed?
- 3/11
{all frequent patterns}, {closed frequent patterns}, {max frequent
patterns}
- {all frequent patterns} >= {closed frequent patterns} >= {max
frequent patterns}
- We can recover all frequent patterns from the set of closed
frequent patterns.
following numbers are the possible supports of the itemset {a, b}?
- 10
- 11
following numbers are the possible supports of itemset {a, b, c}?
- 9
- 10
itemset {a, b, c} is 10, which of the following numbers are the
possible supports of itemset {a, d}?
- 5
- 50
- 30
- 10
total. In the 1-st scan, we find out all frequent items A, B, C, and
E. How many size-2 (i.e. containing 2 items, e.g. A, B) itemsets
should be considered in 2-nd scan, i.e. are potential to be size-2
frequent itemsets?
- 6
(i.e. containing 2 items, e.g. {A, B}) frequent itemsets. They are {A,
B}, {A, C}, {A, D}, {B, C}, {B, E}, {C, E}. In the following size-3
itemsets, which of them should be considered, i.e. are potential to be
size-3 frequent itemsets?
- {A, B, C}
- {B, C, E}
p}?
- 3
Pattern Discovery in Data Mining
Week 2 Quiz Answer
Lesson 3 Quiz
- (-∞, +∞)
- [-1, 1]
- [0, 1]
- [0, +∞)
- (-∞, +∞)
- [-1, 1]
- [0, 1]
- [0, +∞)
- Cosine
- Lift
- All confidence
- Kulcyzynski
(CM) and fiction (FC) in the transaction history of a bookstore. We have
the following 2 × 2 contingency table summarizing the transactions. If
χ2 is used to measure the correlation between CM and FC, what is the χ2
score?
- -240
- -80
- 80
- 240
- [0, 1]
- (-∞, +∞)
- [-1, 1]
- [0, +∞)
fiction (FC) in the transaction history of a bookstore. We have the
following 2 × 2 contingency table summarizing the transactions. If lift
is used to measure the correlation between CM and FC, what is the value
for lift(CM, FC)?
- -0.6
- 0.6
- -2e-4
- 2e-4
several supermarkets with respect to purchase of apples (A) and bananas
(B). We have the following table summarizing the transactions.
correlation of purchases between apples and bananas across all these
supermarkets?
- χ2
- Kulcyzynski
- Lift
- Cosine
dogs (HD) vs. hamburgers (HM). We have the following 2×2 contingency
table summarizing the statistics. If χ2 is used to measure the
correlation between HD and HM, what is the χ2score?
- 0
- -1
- -∞
- 1
Lesson 4 Quiz
mini-support (minsup) of 5% (higher level) and 3% (lower level),
respectively. If using shared multi-level mining, which mini-support
(minsup) threshold should be used to generate candidate patterns for
the higher level?
- 3%
- 1%
- 8%
- 5%
transactions contained eggs, while 5,000 contained bacon. 2000
transactions contained both eggs and bacon. Which of the following
choices for the value of ε is the smallest such that {eggs, bacon} is
considered a negative pattern under the null-invariant definition?
- 0.1
- 0.81
- 0.5
- 01
- A value for ε such that {eggs, bacon} is a negative pattern under
the null-invariant definition does not exist.
distance measure, what is the distance between pattern “abc” and
pattern “abd”?
- 0
- 0.5
- 0.2
- 0.333
0.001, what could be a set of representative patterns that covers all
itemsets in Table 1?
which pattern in the table may δ-cover the pattern {F, A, C, E, T, S}.
- {{F, A, C, E, T, S}}
- {{F, A, C, E, S}, {A, C, E, S}}
- {{F, A, C, E, S}, {F, A, C, T, S}}
- {{F, A, C, E, S}, {F, A, C, E, T, S}, {F, A, C, T, S}}
- {{A, C, E, S}, {A, C, T, S}}
transactions contained beer, while 5,000 contained frying pans. 600
transactions contained both beer and frying pans. Which of the
following is true?
- More information is needed to determine if {beer, frying pans} is a
negative pattern.
- {beer, frying pans} is a negative pattern under the support-based
definition of negatively correlated patterns.
- For ε = 0.1, {beer, frying pans} is a negative pattern under the
null-invariant definition of negatively correlated patterns.
- There does not exist a value for ε such that {beer, frying pans} is
a negative pattern by the null-invariant definition of negative
patterns.
the δ-cluster containing the pattern {A, C, E, S} for δ = 0.0001?
O(Pi) is the corresponding itemset of pattern Pi . Take a second to
convince yourself that the following is true:
- {A, C, T, S}
- {F, A, C, E, S}
- {F, A, C, T, S}
- {F, A, C, E, T, S}
is the corresponding itemset of pattern Pi. Take a second to convince
yourself that the following is true:
E, T, S} for δ=0.4? Select all that apply.
- {A, C, E, S}
- {F, A, C, T, S}
- {A, C, T, S}
- {F, A, C, E, S}
Extra Questions
hot dogs(HD) vs. hamburgers (HM). We have the following 2×2
contingency table summarizing the statistics. If lift is used to
measure the correlation between HD and HM, what is the value for
lift(HD, HM)?
- 1
- -∞
- 0
- -1
who take courses on data mining (DM) and machine learning (ML). We
have the following 2×2 contingency table summarizing the
statistics. If χ2 is used to measure the correlation between DM
and ML, what is the χ2 score?
- 562.5
- -562.5
- -225
- 225
- ric: normal; vertical-align: baseline; white-space: pre-wrap;”>[0, +∞)
- [0, 1]
- (-∞, +∞)
- [-1, 1]
- X2
several supermarkets with respect to purchase of apples(A) and
bananas(B). We have the following table summarizing the
transactions.
for supermarket Si(i = 1, 2). Which of the following is
correct?
- l1 ≠ l2, k1 = k2