Question

2. The Apriori algorithm makes use of prior knowledge of subset support properties. (a) Prove that...

2. The Apriori algorithm makes use of prior knowledge of subset support properties.

(a) Prove that all nonempty subsets of a frequent itemset must also be frequent.

(b) Prove that the support of any nonempty subset s′ of itemset s must be at least

as great as the support of s.

(c) Given frequent itemset l and subset s of l, prove that the confidence of the rule

“s′ ⇒(l−s′)” cannot be more than the confidence of“s⇒(l−s),” where s′ is a subset of s.

(d) A partitioning variation of Apriori subdivides the transactions of a database D

into n nonoverlapping partitions. Prove that any itemset that is frequent in D must be frequent in at least one partition of D.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

2. a)  Prove that all nonempty subsets of a frequent itemset must also be frequent.

Actually we can prove this property in many ways, including by direct applying the proof of the question which is given in part (b).

Another approach to this problem is proved by contradiction. Let i be a frequent itemset and assume one of its nonempty subset X is infrequent. Since X is infrequent, we know that P(X) < min_sup, where P(X) is the support of itemset X and min_sup is a user-defined minimum support threshold. By definition of support, we know that if an itemset Y is merged with X, the resulting itemset X∪Y cannot occur more frequently than X. Therefore, since i is a superset of X, then i must be infrequent which contradicts with the known fact. It concludes that our assumption is wrong and thus all nonempty subsets of a frequent itemset must be frequent as well.

2.(b) Prove that the support of any nonempty subset s’ of itemset s must be at least as great as the support of s.

Let s be an itemset with support P(s) = x, and s’ be a nonempty proper subset of s. If s occurs x times in the dataset, then each of the items of s must occur at least x times. Therefore, since s’ is a non-empty proper subset of s, s’ must also occur at least x times,

i.e., P(s’) is at least as large as P(s)

Note: according to new rules of Chegg India if any question contains more than two subparts then it need not to answer all subparts.

If you have any doubts regarding this answer feel free to ask in the comments section.

Thanks

Add a comment
Know the answer?
Add Answer to:
2. The Apriori algorithm makes use of prior knowledge of subset support properties. (a) Prove that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 1 1. [5 pts] Give a complete definition of lim f(x) = -oo if... 2....

    Question 1 1. [5 pts] Give a complete definition of lim f(x) = -oo if... 2. [25 pts] Give an example of each of the following, or state one or more theorems which show that such an example is impossible: a. A countable collection of nonempty closed proper subsets of R whose union is open. b. A nonempty bounded subset of R with no cluster points. c. A convergent sequence with two convergent subsequences with distinct limits. d. A function...

  • Discussion questions 1. What is the link between internal marketing and service quality in the ai...

    Discussion questions 1. What is the link between internal marketing and service quality in the airline industry? 2. What internal marketing programmes could British Airways put into place to avoid further internal unrest? What potential is there to extend auch programmes to external partners? 3. What challenges may BA face in implementing an internal marketing programme to deliver value to its customers? (1981)ǐn the context ofbank marketing ths theme has bon pururd by other, nashri oriented towards the identification of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT