Answered step by step
Verified Expert Solution
Link Copied!

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 =0.006, confidence =0.25, minlen =2)
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 basketrules.csv
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:
basket<-read.transactions(market.csv, 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago