subject

Consider the transactional database shown in the following table. Transaction ID Items Bought
T100 Milk, Bread, Salad, Fruit, Soup, Noodle
T200 Beef, Bread, Salad, Fruit, Soup, Noodle
T300 Milk, Rice, Fruit, Soup, Pork, Lamb
T400 Milk, Chicken, Fish, Fruit, Noodle
T500 Fish, Bread, Fruit, Shrimp, Soup
T600 Fruit, Noodle, Milk, Bread, Bean, Duck
Let minimum support be 50% and let minimum confidence be 30%.
(A) Find all frequent itemsets using the Apriori algorithm. Show how the Apriori algorithm
works in a step by step manner.
(B) List all the association rules found by the Apriori algorithm.
(C) Find all frequent itemsets using the FP-tree algorithm. Show the final FP-tree you
constructed. Note that the FP-tree algorithm has a pre-processing step, which sorts items in a
transaction based on the support values of the items. If two items have the same support value,
they must be sorted in alphabetical (lexicographical) order in the transaction.
(D) List all the association rules found by the FP-tree algorithm.
(E) In this example, indicate whether the association rules produced by the Apriori algorithm are
the same as those produced by the FP-tree algorithm.
(F) Compare the efficiency of the Apriori algorithm and the FP-tree algorithm using this
example. Indicate which algorithm is more efficient and explain why based on this example.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
What ordering of tcp flags makes up the three-way handshake?
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
Text or graphics that print at the bottom of every page are called footings footers headers headings
Answers: 1
question
Computers and Technology, 25.06.2019 07:50
Assignment: permutations use the permutation formula   r ! ! n n p nr   to solve each problem. be sure to show all work leading to your answer. part i: solve real-world permutation problems choose any four (4) of the following five problems to solve. for each problem a) show how the permutation formula can be used to find the answer and b) write a sentence to explain the meaning of the answer for the situation. 1. to register for online banking services at a local credit union, you need to select a four-digit personal identification number, or pin code. the digits cannot be repeated. how many ways are there to arrange four digits out of the numerals 0 through 9 to create a code?
Answers: 3
You know the right answer?
Consider the transactional database shown in the following table. Transaction ID Items Bought
...
Questions
question
English, 21.09.2020 15:01
question
Mathematics, 21.09.2020 15:01
question
Mathematics, 21.09.2020 15:01
question
Mathematics, 21.09.2020 15:01
Questions on the website: 13722361