Apply the Apriori algorithm to the following data set:





The set of items is {milk, bread, cookies, eggs, butter, coffee, juice}. Use 0.2 for the minimum support value.


First, we compute the support for 1-item sets
(e.g., milk appears in 5 out of the 10 transactions, support is 0.5):

1-ITEM SETS SUPPORT
milk 0.5
bread 0.4
eggs 0.4
coffee 0.3
juice 0.3
cookies 0.2
butter 0.2

The min support required is 0.2, so all 1-item sets satisfy
this requirement, i.e. they are all frequent.

For the next iteration, we examine 2-item sets composed of
the frequent 1-item sets. The number of potential 2-item sets
is 21 (i.e., 7 items taken 2 at a time). The 2-item sets that
satisfy the min support of 0.2 are the following:

2-ITEM SETS SUPPORT
milk,bread 0.4
milk,eggs 0.3
bread,eggs 0.3

For the next iteration, we examine 3-item sets composed of
the frequent 2-item sets. The 3-item sets that satisfy the
min support of 0.2 are the following:

3-ITEM SETS SUPPORT
milk,bread,eggs 0.3

Computer Science & Information Technology

You might also like to view...

The commands that place vi in the text input mode are

a: A and O b: a and o c: I and i d: all of the above e: none of the above

Computer Science & Information Technology

The management of multiple processes within a uniprocessor system is __________

A) ?multiprogramming ? B) ?structured applications C) ? distributed processing ? D) ?multiprocessing

Computer Science & Information Technology

For security control, a SkyDrive requires a:

A) Microsoft Account. B) Windows Live Drive. C) Windows Live Cloud. D) Windows Live ID.

Computer Science & Information Technology

________ are optional additional features that you can install in Internet Explorer to provide additional functionality. They generally come from sources on the Internet and are sometimes installed without your knowledge. At other times, the Internet source asks you for permission to install an add-on before proceeding. However, if you deny this permission, the web page may not display as

intended by their creators. Fill in the blank(s) with correct word

Computer Science & Information Technology