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=.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

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!