Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use the market.csv and create a list of rules then: a ) Read the dataset . What is the type of this dataset? b )
Use the market.csv and create a list of rules then:
a Read the dataset What is the type of this dataset?
b Prepare the dataset for applying the algorithm.
c Apply the algorithm with no parameter specified. Interpret the results
d Apply the algorithm with the following parameters
List support confidence minlen
and prepare a summary of result.
e Visualization of the rules. Interpret the visualization.
f Find subsets of rules containing any berry items
g Visualization of the berry rules. Interpret the visualization
h Inspect the lift values.
i writing the rules to a CSV file. Call this file basketrulescsv
j Use basketrules.csv file to create a visualization in Tableau. Interpret the visualization.
Notes:
The groceries.csv is in pure text format and data separated by column you should use the
following R code to read this dataset:
basketread.transactionsmarketcsv sep
The resulting data in R is in form of a matrix and not a data frame
Required Packages:
Apriori
arulesViz
plotly
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started