Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!