Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A group of people were asked about the list of books that they have read in the last two years. For each person, the books

A group of people were asked about the list of books that they have read in the last two years. For each person, the books they have read are shown in one line of the file books.csv. The books are shown symbolically B1, B2, B3, ...

Apply the Apriori algorithm to find the frequent itemsets of books with support at least 0.15.

For each size s = 1, s=2, s=3, ... find the top-3 frequent itemsets (such that the support is not smaller than 0.15)

Note: the given file is provided as an example, but your solution will be tested with other versions of the books.csv file too.

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions