Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following database of transactions: TransID 12345 5 Items a, b, c, d b, c, e, f a, d, e, f a, e,
Consider the following database of transactions: TransID 12345 5 Items a, b, c, d b, c, e, f a, d, e, f a, e, f b, d, f Assume an absolute minimum support level of 2. For each level-wise pass of the Apriori algorithm, show the candidate itemsets generated from the join step, the candidate itemsets remaining after pruning, and the frequent itemsets. Note: for each of the following questions, you can EITHER derive the answers by hand OR write a computer program in Python to produce the answers. If you choose to derive the answers by hand, please write down your answers. If you choose to write a computer program, please submit your program as a zip file to avenue. The zip file should include a main.py file, which can be directly executed to produce the results (i.e., print the results on screen) for each of the questions in an easy-to- read manner. If the answers are not easy to read or understand, marks will be deducted. a) Show level 1 candidate itemsets and frequent itemsets. (15 marks) b) Show level 2 candidate itemsets and frequent itemsets. (30 marks) c) Show candidate itemsets and frequent itemsets for the rest of the level(s). (15 marks)
Step by Step Solution
★★★★★
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
To find the frequent itemsets using the Apriori algorithm we need to go through multiple passes each ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started