Consider the following portion of data consisting of 40 transactions. Read the data file into R using
Question:
Consider the following portion of data consisting of 40 transactions. Read the data file into R using the readtransactions function and perform the following tasks.
a. Produce an item frequency plot and frequency table. Which item is the least frequent item?
b. Generate association rules with a minimum support of 0.25 and minimum confidence of 0.50. Sort the rules by lift ratio. What is the lift ratio for the top rule?
c. Generate association rules with a minimum support of 0.10 and minimum confidence of 0.50. Sort the rules by lift ratio. What is the lift ratio for the top rule?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen
Question Posted: