Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume you are using R and the arules apriori algorithm. Next, assume that you have thousands of transactions and six possible elements: bread, milk, diapers,

Assume you are using R and the arules apriori algorithm. Next, assume that you have thousands of transactions and six possible elements: "bread", "milk", "diapers", "coke", "quinoa", and "beer". Assume that you run the apriori algorithm with the following line of code:
MyRules = arules::apriori(MyTransactions, parameter = list(support=.25,
confidence=.35, minlen=2))
Which of the following is false?
Question 18 options:
a)
If {milk}->{diapers} is not a viable rule because the support is .15, then {milk}->{diapers, quinoa} is also not viable per the apriori algorithm.
b)
If {bread, milk}->{diapers} is a rule that the apriori algorithm includes in MyRules, then {bread, milk}->{diapers, coke} must also be a rule included in MyRules.
c)
If {beer}->{quinoa} has a confidence of .25 and a support of .2 it will not be included in MyRules by the apriori algorithm.
d)
If {bread}->{diapers, beer} is a rule that the apriori algorithm includes in MyRules, then {bread}->{diapers} must also be a rule included in MyRules.
e)
{milk}->{coke} is one of many possible rules that apriori will consider.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building The Data Lakehouse

Authors: Bill Inmon ,Mary Levins ,Ranjeet Srivastava

1st Edition

1634629663, 978-1634629669

More Books

Students also viewed these Databases questions

Question

b. What groups were most represented? Why do you think this is so?

Answered: 1 week ago