From the course: Data Science Foundations: Data Mining in R
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Dataset: Groceries
From the course: Data Science Foundations: Data Mining in R
Dataset: Groceries
- [Instructor] For two of our three demonstrations of association rules mining, I want to use a dataset called Groceries. That's actually a good thing because association rules mining is often known as market basket analysis because it's done within a shopping context. To do this, I'm going to load several packages, including this one, arules, which is for association rules mining. From there, I'm going to load a data set called Groceries with a capital G. We can get some information on that and you can see that it's one month of transactions at a real world, 9,835 transactions, 169 categories. We'll load the data and you'll see that it's not a data frame. It's a list. It's formal class transactions. If we come back here to see the structure, you can see it's got a nested structure and we've got these various cryptic things in here, but down here you can actually see what some of the things are, those make sense.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.