PrepAway - Latest Free Exam Questions & Answers

Which rule has a confidence equal to 50%?

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%?

PrepAway - Latest Free Exam Questions & Answers

A.
{bread,milk} => {cheese}

B.
{bread} => {milk}

C.
{juice} => {soda}

D.
{bread} => {cheese}

6 Comments on “Which rule has a confidence equal to 50%?

    1. Neeraj Tiwary says:

      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
  1. dipanshu says:

    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

Leave a Reply