Question
Transaction Item1 Item2 Item3 1 noodles spaghetti sauce Parmesan cheese 2 spaghetti sauce 3 Parmesan cheese 4 noodles spaghetti sauce Parmesan cheese 5 noodles spaghetti
Transaction Item1 Item2 Item3
1 | noodles | spaghetti sauce | Parmesan cheese |
2 | spaghetti sauce | ||
3 | Parmesan cheese | ||
4 | noodles | spaghetti sauce | Parmesan cheese |
5 | noodles | spaghetti sauce | |
6 | spaghetti sauce | ||
7 | noodles | ||
8 | Parmesan cheese | ||
9 | spaghetti sauce | Parmesan cheese | |
10 | noodles |
Given the above transactions:
For the market basket rule:
IF noodles AND spaghetti sauce THEN Parmesan cheese
1.1 What is the support for the rule?
1.2 What is the confidence for the rule?
1.3 How should the following market basket rule be interpreted?
lhs rhs support confidence lift
{Class=3rd, Survived=No} => {Age=Adult} 0.2162653 0.9015152 0.9484870
a The probability is .216 that if a person in 3rd class did not survive, then the person was an adult.
b. An adult in 3rd class did not survive in 21.6% of the cases.
c. Given that a person in 3rd class did not survive, then the probability is .216 that the person was an adult.
d. The probability is .216 that an adult in 3rd class did not survive.
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