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=.35,
confidence=.5, minlen=2))
Which of the following is false?
Question 6 options:
a)
If {bread }->{diapers, milk} is a rule that the apriori algorithm includes in MyRules, then {bread}->{diapers} must also be a rule included in MyRules.
b)
{bread}->{quinoa} is one of many possible rules that apriori will consider.
c)
If {bread}->{quinoa} has a confidence of .3 and a support of .25 it will not be included in MyRules by the apriori algorithm.
d)
If {bread, beer}->{diapers} is a rule that the apriori algorithm includes in MyRules, then {bread, beer}->{diapers, coke} must also be a rule included in MyRules.
e)
If {bread}->{quinoa} is not a viable rule because the support is .25, then {bread, milk}->{quinoa} is also not viable per the apriori algorithm.

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions