From the course: Data Science Foundations: Data Mining in Python

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Apriori

Challenge: Apriori - Python Tutorial

From the course: Data Science Foundations: Data Mining in Python

Start my 1-month free trial

Challenge: Apriori

(upbeat music) - [Instructor] Now that we've looked at three different algorithms for association analysis, it's time for you to get a little bit of hands-on practice. And to do that and want to give you this challenge of applying Apriori to a new data set. What we're going to do in this challenge is use a dataset called Epub.save. That's for electronic publication. And it's in our dataset folder. And I want you to take that import it and prepare it, apply the Apriori algorithm, list the rules in a readable table, and plot the rules. To do this, you will need to have the apyori algorithm installed just like I did in the demonstration of Apriori. But let me tell you just a little bit about the data. It's a transactional data set like we had with groceries where it shows for each transaction, the items, in this case electronic publications, that people requested in a particular transaction. Now, this one's a little different…

Contents