Question

In: Computer Science

HW1. Consider the data set below. Customer Items Bought Ayabakan bread, butter, soap Geng milk, butter...

HW1. Consider the data set below.

Customer

Items Bought

Ayabakan

bread, butter, soap

Geng

milk, butter

Goyal

peas, milk, soap

Raman

bread, peas, butter, soap

Phan

bread, peas, milk, soap

Lamba

bread, butter, soap

Salinas-Ruiz

peas, butter, soap

Wang

bread, peas, milk

McGregor

bread, milk, butter, soap

Vo

bread, peas, soap

(a) For a minimum support threshold of 30%, apply the concept of the apriori algorithm and identify all the frequent itemsets. Show your analysis steps.

(b) Now, for a minimum confidence threshold of 50%, apply the concept of the apriori algorithm and identify all valid association rules. Show your analysis steps.

Solutions

Expert Solution


Related Solutions

The data provided below is the same for each item in a set of interrelated items...
The data provided below is the same for each item in a set of interrelated items about the FIFO approach to processes costing. Only the question asked tends to differ from item to item. Together this set of items addresses the same problem. Students are encouraged to work the ENTIRE problem out on scratch paper before responding to any items that relate to this problem. Knuckle makes t-shirts. It uses the FIFO approach to process costing and has a single-stage...
Below are some data from the land of milk and honey. YEAR       PRICE OF MILK       ...
Below are some data from the land of milk and honey. YEAR       PRICE OF MILK        QUANTITY OF MILK    PRICE OF HONEY        QUANTITY OF HONEY 2001                $1                                100 Qts.                     $2                               50 qts. 2002                $1                                200                              $2                                100 2003                $2                                200                              $4                                100 1. Compute for each year the following below using 2001 as the base year. a) nominal GDP b) real GDP,and c) the GDP deflator for each year, using 2001 as...
Below are some data from the land of milk and honey Year Price of Milk Quantity...
Below are some data from the land of milk and honey Year Price of Milk Quantity of Milk Price of Honey Quantity of Honey 2013 (Base yr) $1 100 quarts $2 50 quarts 2014 $1 200 $2 100 2015 $2 200 $4 100 Compute nominal GDP, real GDP, and the GDP deflator for each year, using the information from the above table. The base year is 2013. Consider an economy that produces only chocolate bars. In year 1, the quantity...
Below are some data from the land of milk and honey year price of milk quantity...
Below are some data from the land of milk and honey year price of milk quantity of milk price of honey quantity of honey 2016 $1 100 quarts $2 50 quarts 2017 1 200 2 100 2018 2 200 4 100 a. compute nominal GDP, real GDP, and the GDP deflator for each year, using 2016 as the base year b. compute the percentage change in nominal GDP, real GDP, and the GDP deflator in 2017 and 2018 from the...
Below are some data from the land of milk and honey Year Price of Milk Quantity...
Below are some data from the land of milk and honey Year Price of Milk Quantity of Milk Price of Honey Quantity of Honey 2016 $1 100 quarts $2 50 quarts 2017 1 200 2 100 2018 2 200 4 100 Compute nominal GDP, real GDP, and the GDP deflator for each year, using 2016 as the base year. Compute the percentage change in nominal GDP, real GDP and the GDP deflator in 2017 and 2018 from the preceding year....
Consider the two separate samples given in the data set (samplecomparison.xlsx). Answer the questions below. Data...
Consider the two separate samples given in the data set (samplecomparison.xlsx). Answer the questions below. Data listed below. The range of the first data set is _____ . The variance of the first data set is ____ . (Round to three decimal places as needed) The standard deviation of the first data set is _____ . (Round to three decimal places as needed) The range of the second data set is _____ . The variance of the second data set...
Consider the data set below of the 14” pizzas at Little Italy. There are two pizza...
Consider the data set below of the 14” pizzas at Little Italy. There are two pizza chefs (Anna and Lorenzo, Factor A), two work shifts (day and evening, Factor B), and two dough companies (Sysco and PFG Holdings, Factor C). For each combination, there are four pizzas made (n = 4). The diameter of each pizza is measured.                                                                         Measurements                                                 Pizza                                       Anna                                                   Lorenzo Dough                Shift             1          2        3        4                    1            2        3        4 Sysco                   Day             14.1    ...
The following is a set of data from a sample of n = 11 items: X...
The following is a set of data from a sample of n = 11 items: X 8 6 9 4 7 11 13 5 10 16 19 Y 22 15 25 10 19 31 37 13 27 45 54 a. Calculate the covariance. b. Calculate the coefficient of correlation. c. Describe the relation between the two variables X and Y.
2. Consider the following data for a hypothetical economy that produces two goods, milk and honey....
2. Consider the following data for a hypothetical economy that produces two goods, milk and honey. Quantity Produced Prices Milk (litres) Honey (kg) Milk ($/litre) Honey ($/kg) Year 1 110 45 2 6 Year 2 125 40 3 7 Compute nominal GDP for each year in this economy. Using year 1 as the base year, compute real GDP for each year. What is the percentage change in real GDP from year 1 to year 2? Using year 1 as the...
The data below shows the time to exhaustion after drinking chocolate milk and time to exhaustion...
The data below shows the time to exhaustion after drinking chocolate milk and time to exhaustion after drinking carbohydrate replacement drink by 6 men in a study of effectiveness of 2 types of drinks. Is there any evidence that the mean time to exhaustion is lesser after chocolate milk? Use α = 0.0025. Men 1 2 3 4 5 6 Chocolate Milk 10 30 40 10 15 21 Carbohydrate replacement drink 24 50 38 36 26 36
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT