Apriori algorithm makes use of prior knowledge of subset

Assignment Help Basic Computer Science
Reference no: EM13975888

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

a. Prove that all nonempty subsets of frequent itemsets 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? 

2.  Most frequent pattern mining algorithms consider only distinct items in a transaction. However, multiple occurrences of an item in the same shopping basket, such as 4 cakes and 3 jugs of milk, can be important in transactional data analysis. How can one mine frequent itemsets efficiently considering multiple occurrences of items? Propose modification to the well-known algorithms, such as Apriori and FP-growth to adapt to such situation? 

3.  We wish to use the Flajolet Martin algorithm (Section 4.4) to count the number of distinct elements in a stream. Assume that there are 10 possible elements {1, 2, ..., 10} that could appear in the stream but only 4 of them have actually appeared. To make our estimate of the count of distinct elements, we hash each element to a 4-bit binary number. Element X is hashed to {(3X + 7) modulo 11}. For example element 8 hashes to 3*8+7 = 31 modulo 11 = 9 which maps into the 4-bits (1001). A set of 4 of the elements 1 through 10 could give an estimate that is exact (if the estimate is 4) or too high or too low. Figure out under Page 2 of 2 

what circumstances a set of the following 4 elements give the exact correct estimate: 

a. (2,6,8,10) 

b. (1,3,9,10) 

c. (3,7,8,10) 

d. (1,6,7,10) 

e. (4,5,6,7) 

f. (2,5,7,10) 

g. (4,5,6,10) 

h. (1,3,6,8) 

i. (1,2,3,9) 

 

4.  A bipartite graph has nodes ai and bi for i = 0, 1,..., 5. There is an edge between ai and bi if i-j is divisible by 2 or 3. For example, a0 is connected to b0, b2, b3, and b4. Also, a3 is connected to b0, b1, b3, and b5. Another way to understand this graph is to realize that ai is connected to bj unless j = i+i or j = i-1, where arithmetic is modulo 6. Say a complete bipartite subgraph is maximal if no nodes can be added to it and the "complete" property be maintained. Which of the following instances of K2,2 is NOT maximal? 

a. {a2, a5, b2, b5} 

b. {a0, a3, b0, b3} 

c. {a1, a3, b3, b5} 

d. {a2, a3, b0, b5} 

Reference no: EM13975888

Questions Cloud

Explain the results in terms of time value of money. : Create a chart summarizing the details of the investment for both Bob and Lisa. Explain the results in terms of time value of money.
Determine how the reaction looks like : A α-particle hits a silicon nucleus,29Si and a nuclear reaction occurs. One proton is emitted. Determine how the reaction looks like. Will need step-by-step solution to this question, many thanks. Will be rewarded asap.
Prepare ahistogram for the data on high temperatures : Prepare a data spreadsheet with three columns: Date, High Temperature, and Low Temperature. List the past 60 days for which data is available. Prepare ahistogram for the data on high temperatures and comment on the shape of the distribution as ob..
What distance from the object should the lens be placed : You need to use a 21-cm-focal-length lens to produce an inverted image one third the height of an object. At what distance from the object should the lens be placed? Express your answer to two significant figures and include the appropriate units.
Apriori algorithm makes use of prior knowledge of subset : 1.The Apriori algorithm makes use of prior knowledge of subset support properties:  a. Prove that all nonempty subsets of frequent itemsets must also be frequent?  b. Prove that the support of any nonempty subset s' of itemset s must be at least as g..
Compute the mean and median : The file MobileLoyaltycontains spending on products ($) during a three-month period by a sample of 15 customers receiving incentives through a mobile loyalty program. Compute the mean and median. Compute the variance, standard deviation, range, and..
Write a class name circle : Circle Class. Write a class name Circle, with the class declaration in a file called Circle.h and the implementation in a file called Circle.cpp. The class will have two data members, a double that holds the radius of the circle and a double called p..
Using a loop, multiple all of the numbers between 3 and 10. : Using a loop, multiple all of the numbers between 3 and 10.
Which attack exploits the session initiation : Which  attack exploits the session initiation between the Transport Control Program (TCP) client and server in a network?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  In linux how do i remove from a file all the words

In linux how do I remove from a file all the words containing the characters "mrte'ng"

  Write the definition of the function

Write the definition of the function, leavesCount, that takes as a parameter a pointer to the root node of a binary tree and returns the number of leaves in a binary tree. Add this function to the class binaryTreeType and create a program to test ..

  The command sequence in a normal smtp session

1.What would the command sequence in a normal SMTP session be? Use C: to preface a command issued by the client and S: to preface a command issued by the server.

  Two electric charges in microcoulomb

Write a program force.c that asks the user for two electric charges in microCoulomb (µC) and their distance in centimeters (cm), and calculates the electric force between them in Newtons (N) using Coulomb's law:F = k ·q1 ∗ q2/r ∗ r,where k = 89.8755 ..

  Reasoning for choosing the virtualisation technology

Among VMware, Hyper V and Xen server we have to choose one to work upgrading the windows 8.1 from 7 version without refreshing the desktop.

  Write nested for loops to produce the following output

Write nested for loops to produce the following output

  Design a class to represent employees in a small company

Scenario:Design a class to represent Employees in a small company according to the following requirements: 1- An employee has three attributes: name , salary and jobTitle

  Program should contain menu driven program

1.Program should contain menu- driven program. 2.One function shows the user how to use the program.

  In mesopotamia the great mother is called

1. In Mesopotamia, the Great Mother is called _______. a. Ashtoret b. Tammuz c. Sin d. All of the above

  Write a program to fetch the state and marital status

Write a program to fetch the state and marital status of five users? If user is from CA, NV, AR, V count them towards the western region

  Would an arraylist be better suited for your use

Would an ArrayList be better suited for your use

  Design a program that will allow a user to input a list

Design a program that will allow a user to Input a list of your married male friends name (first and last name) along with their weight and first name of their spouse.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd