[Solved] R Notebook Association Rules

$25

File Name: R_Notebook_Association_Rules.zip
File Size: 263.76 KB

SKU: [Solved] R Notebook Association Rules Category: Tag:
5/5 - (1 vote)

For this portion of the assignment, we will be using data from Groceries, a dataset that can be found with the arules package. Each row in the file represents one buyers purchases. This link provides some helpful templated examples for generating association rules: http://r-statistics.co/Association-Mining-With-R.html (http://rstatistics.co/Association-Mining-With-R.html)

  1. Describe Groceries by answering following questions: What is the class of Groceries? How many rows and columns does Groceries contain?
  1. Generate an item frequency barplot for the grocery items with support rate greater than 0.05. Include a screenshot of your results, along with the code you used to do this.
  1. Now, create a subset of rules that contain your grocery item (you can find your item in the spreadsheet in Blackboard, in Class Discussions From Your Instructor). Select 4 different rules, (2 lhs and 2 rhs), and explain them in the way you would explain them to your roommate (Im assuming your roommate is a smart person who is unfamiliar with data mining). Remember, every rule has three components: support, confidence, and lift. For each group of rules (grocery item on left-hand side, and grocery item on right-hand side), include a screenshot of your rules, along with the code you used to generate the rules. In a sentence or two, explain what meaning these rules might have for a supermarket retailer, such as Star Market. What could it do with this information?
  1. Using the plot() function in the arulesViz package, generate a scatter plot of any three rules involving your grocery item. Include a screenshot of your plot, along with the code you used to generate the plot. Describe your results in a sentence or two.
  1. Again using the plot() function in the arulesViz package, generate a plot for any three of your rules. This time, add two more arguments to the function: method=graph, engine=htmlwidget. What do you see now? Include a screenshot of your plot, along with the code you used to generate the plot. Describe your results in a sentence or two.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] R Notebook Association Rules
$25