Back to the 2024 paper

Module 2: Data Mining Fundamentals and Association Rule Mining

20242m

Which of the following algorithms is used for mining frequent item sets in a dataset?

(i) K-means
(ii) Apriori
(iii) Decision tree
(iv) Naive Bayes

Worked SolutionAI Assisted

Answer: (ii) Apriori

Apriori is the classic algorithm for mining frequent itemsets. It uses the Apriori property — any subset of a frequent itemset must itself be frequent — to generate candidate itemsets level by level and prune unpromising ones against a minimum support threshold. The frequent itemsets it returns are then used to generate association rules evaluated by support, confidence and lift.

K-means is a clustering algorithm, a decision tree is a supervised classification/prediction model, and Naive Bayes is a probabilistic classifier. None of them produces frequent itemsets, so (i), (iii) and (iv) are wrong.

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.