What does confidence measure in an association rule?

Quick Overview

Asks what the confidence of an association rule measures and how it is computed from itemset support. Tests whether you know that confidence is directional, why a common consequent inflates it, and how lift and conviction correct for that in rule mining.

What does confidence measure in an association rule?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What does confidence measure in an association rule? Give the formula, say what probability it estimates, and explain its main weakness when you use it to judge rules. ```hint Two supports Write confidence as a ratio of two supports. Then picture a rule whose right-hand side appears in nearly every basket. ``` ### What a Strong Answer Covers - The definition as a fraction of transactions and as a conditional probability - The formula in terms of support - Why confidence is directional - The weakness when the consequent is already common, and how lift or conviction corrects it - How confidence is used in rule mining alongside a minimum support ### Follow-up Questions - A rule has confidence 0.85 and lift 0.94. How should you read it? - Why is lift symmetric when confidence is not? - Why do rule miners prune by minimum support before they compute confidence? - A rule has confidence 1.0 but is based on only two transactions. How would you treat it?

Overview: Asks what the confidence of an association rule measures and how it is computed from itemset support. Tests whether you know that confidence is directional, why a common consequent inflates it, and how lift and conviction correct for that in rule mining.

General logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What does confidence measure in an association rule?

Give the formula, say what probability it estimates, and explain its main weakness when you use it to judge rules.

What a Strong Answer Covers Guidance

  • The definition as a fraction of transactions and as a conditional probability
  • The formula in terms of support
  • Why confidence is directional
  • The weakness when the consequent is already common, and how lift or conviction corrects it
  • How confidence is used in rule mining alongside a minimum support

Follow-up Questions Guidance

  • A rule has confidence 0.85 and lift 0.94. How should you read it?
  • Why is lift symmetric when confidence is not?
  • Why do rule miners prune by minimum support before they compute confidence?
  • A rule has confidence 1.0 but is based on only two transactions. How would you treat it?