Consider a database with 4 transactions:
Transaction 1: {cheese, bread, milk}
Transaction 2: {soda, bread, milk}
Transaction 3: {cheese, bread}
Transaction 4: {cheese, soda, juice}
The minimum support is 25%. Which rule has a confidence equal to 50%?

A.
{bread,milk} => {cheese}
B.
{bread} => {milk}
C.
{juice} => {soda}
D.
{bread} => {cheese}
Wrong Answer. Minimum Support is {B, C, M}/number of txn i.e. 1/4. So minimum support for Answer A is 25%.
0
0
Actually if you see all 4 responses meet the criteria of Minimum support.
First response {bread,milk} => {cheese} has a support of 25%.
Second response {bread} => {milk} has a support of 50%.
Third response {juice} => {soda} has a support of 25%.
Fourth response {bread} => {cheese} has a support of 50%.
But only the first response meet the critria of confidence equal to 50%.
First response {bread,milk} => {cheese} has a Confidence of 1/2 = 50%.
Second response {bread} => {milk} has a Confidence of 2/3 = 66%.
Third response {juice} => {soda} has a Confidence of 1/1 = 100%.
Fourth response {bread} => {cheese} has a Confidence of 2/3 = 66%.
So the answer should be A i.e. {bread,milk} => {cheese}
0
0
A: support 25% {cheese, bread, milk}/ all 4
confidence 50% {cheese, bread, milk}/({cheese, bread, milk} + {soda, bread, milk})
0
0
support 25%:
cheese
bread -> 66
milk
soda
juice -> 100
cheese/bread
cheese/milk
cheese/soda
cheese/juice
bread/milk -> 50
bread/soda
milk/soda
soda/juice
confidence:
bread -> milk 66
bread/milk -> cheese 50
juice -> soda 100
bread -> cheese 66
0
0
What the heck is the meaning to your stupid answers? You keep posting this stupid s**t on every question.
0
0
A is the answer
0
0