Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose we have market basket data consisting of 100 transactions and 20 items. Compute the total number of possible association rules. If the support for
- Suppose we have market basket data consisting of 100 transactions and 20 items. Compute the total number of possible association rules. If the support for item A is 25%, the support for item B is 90% and the support for itemset {A,B} is 20%. Let the support and condence thresholds be 10% and 60%, respectively. Compute the condence of the association rule {A} {B} & {B} {A}.
- Consider the following data of software repository which represents set of source files changed together in six different transactions (TID). Transaction is an event in which developers change one or more source files together to incorporate changes in software.
Table-1
TID | Items (source files change together) |
1 | File1, File2, File3 |
2 | File1, File2 |
3 | File1, File4, File5 |
4 | File5, File4 |
5 | File5, File3 |
6 | File1, File4, File5 |
Use Table-1 data and apply APRIORI algorithm to find the most frequent association rules which can be used to predict those source files which are most frequently change together. The minimum support and confidence values are 33.34% and 60.0% respectively.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started