Support and Confidence in Data Mining

Ma Mahalakshmi V Updated 14 Nov 2026
3 min read ·Lesson 118 of 140

Support and confidence — along with lift, leverage, and conviction — are covered together with a full worked example in the lesson on association rule mining, so this lesson does not re-derive the two formulas from scratch. Instead, it uses one clean pair of examples to make explicit a property of confidence that's easy to miss when support and confidence are only ever introduced side by side as if they behaved the same way: support is symmetric, but confidence is not.

Support Is Symmetric

For any two items A and B, the support of the itemset {A, B} is the same regardless of which item you name first — Support(A ∩ B) and Support(B ∩ A) describe the identical set of transactions, so they are always equal by definition. Support answers "how often do these items appear together," and togetherness doesn't have a direction.

Confidence Is Not Symmetric

Confidence answers a different, directional question: "given that A was bought, how often was B also bought?" That "given" is exactly what breaks the symmetry, because it divides by the support of the item on the left side of the rule — and Support(A) and Support(B) are generally not equal to each other. Take four transactions:

T1: Shoes, Socks, Bag, Perfume
T2: Shoes, Socks, Perfume, Watch
T3: Bag, Perfume, Watch, Socks
T4: Socks, Necktie, Watch

Socks appears in every transaction; Shoes appears in only two:

Support(Shoes) = 2 / 4 = 0.50
Support(Socks) = 4 / 4 = 1.00
Support(Shoes ∩ Socks) = 2 / 4 = 0.50   (T1 and T2 — the same 0.50 either way you name the pair)

Confidence(Shoes ⇒ Socks) = Support(Shoes ∩ Socks) / Support(Shoes) = 0.50 / 0.50 = 1.00  (100%)
Confidence(Socks ⇒ Shoes) = Support(Shoes ∩ Socks) / Support(Socks) = 0.50 / 1.00 = 0.50  (50%)

The same pair of items, the same underlying co-occurrence, produces two completely different confidence values depending on which item is treated as the condition and which as the result. Confidence(Shoes ⇒ Socks) = 100% because everyone who buys shoes also buys socks in this data; Confidence(Socks ⇒ Shoes) = 50% because socks are bought far more broadly, by people who have no particular interest in shoes at all.

Why This Distinction Isn't Just a Technicality

This asymmetry has a direct, practical consequence for how association rules get used. If a retailer wants to know which product to recommend to shoe buyers, Confidence(Shoes ⇒ Socks) = 100% is exactly the right number to act on. But if the retailer instead used Confidence(Socks ⇒ Shoes) = 50% to decide whether recommending shoes to sock buyers is worthwhile, they'd be relying on a number that reflects how common socks are overall almost as much as it reflects any real connection to shoes — a general-purpose item like socks will show unremarkable confidence pointing toward almost anything, precisely because its own support is so high that the denominator in the confidence formula does most of the work. This is exactly why the lesson on association rule mining introduces lift, which divides confidence by the target item's own support and corrects for this — a step neither support nor confidence take on their own.

Where the Full Picture Is Covered

Beyond this asymmetry, the complete treatment of support, confidence, lift, leverage, and conviction — including how each one is computed and what each protects against — is covered with a full worked dataset in the lesson on association rule mining, and the Apriori algorithm that uses minimum support and minimum confidence thresholds to generate rules at scale is covered in the same lesson.

0 Comments

Reviewed before they appear

No comments yet.

Data Mining
Introduction to Data Mining Data Mining Techniques Data Mining Implementation Process Data Mining Architecture KDD: Knowledge Discovery in Databases History of Data Mining Data Mining Tools Data Mining vs. Machine Learning Facebook Data Mining Social Media Data Mining Methods Clustering in Data Mining Text Data Mining Bagging vs Boosting Data Mining vs Data Warehousing Social Media Data Mining Data Mining: Bayesian Classifiers Data Mining: World Wide Web Different Types of Clustering Bitcoin Mining and Blockchain Data Mining Orange Data Mining Data Mining vs Big Data Decision Tree Induction Educational Data Mining Data Mining in Healthcare Apriori Algorithm Data Integration in Data Mining Difference Between Data Mining and Text Mining Discretization in Data Mining Redundancy and Correlation in Data Mining Classification of Data Mining Systems Data Mining Models Difference Between Data Mining and Data Science Difference Between Data Mining and Statistics Difference Between Data Mining and Web Mining Difference Between Data Mining and Data Analysis Difference Between Business Intelligence and Data Mining Difference Between Data Mining and Data Visualization Data Mining vs Data Analytics Types of Data Mining Difference Between Data Profiling and Data Mining Predictive Analytics vs Data Mining Difference Between Data Mining and OLAP Descriptive and Predictive Data Mining Difference Between Spatial and Temporal Data Mining Difference Between Classification and Clustering in Data Min Hierarchical Clustering in Data Mining Density-Based Clustering in Data Mining What Is Aggregation in Data Mining? Regression in Data Mining What Is an Outlier in Data Mining? Data Cleaning in Data Mining Data Processing in Data Mining Classification and Prediction in Data Mining Data Mining Task Primitives Web Content Mining, Web Structure Mining, and Web Usage Mini Binning in Data Mining KDD vs. Data Mining Noise in Data Mining BIRCH in Data Mining Stemming in Data Mining Feature Transformation in Data Mining Visual and Audio Data Mining Class Comparison Methods in Data Mining Data Selection in Data Mining Tasks and Functionalities of Data Mining Ubiquitous and Invisible Data Mining Entity Identification Problem in Data Mining Numerosity Reduction in Data Mining Market Basket Analysis in Data Mining Multimedia Data Mining Correlation Analysis in Data Mining Data Mining Services Trends in Data Mining Data Harvesting vs Data Mining Data Mining vs Artificial Intelligence Data Mining vs Data Exploration Data Mining vs Process Mining Web Scraping vs Data Mining Data Wrangling Boosting in Data Mining What Is Forecasting in Data Mining? What Is CRISP in Data Mining? FP-Growth Algorithm in Data Mining Weka Data Mining Association Rule Mining in Data Mining Characteristics of Data Mining Classification by Backpropagation in Data Mining Data Mining Applications Challenges of Data Mining What "Data Mining" Actually Means Data Mining Operators Data Mining Query Language (DMQL) Data Preprocessing Techniques in Data Mining Data Stream Mining Grid-Based Methods in Data Mining Categories of Functions in Data Mining Interestingness of Patterns in Data Mining Strategic Value of Data Mining Data Mining for Business Intelligence Data Mining Projects Evaluation of Clustering in Data Mining Major Issues in Data Mining Partition Algorithm in Data Mining Partitioning Methods in Data Mining Rule-Based Classification in Data Mining Types of Attributes in Data Mining Use of Data Mining What is Association in Data Mining? What is the Goal of Data Mining? Data Mining Algorithms Data Mining: Concepts and Techniques Data Mining Examples The Data Mining Process: From Raw Data to Deployed Model Normalization in Data Mining Preprocessing in Data Mining: Data Quality and Feature Selec Association Analysis in Data Mining Attribute Selection Measures in Data Mining Support and Confidence in Data Mining Tree Pruning in Data Mining Classification Algorithms in Data Mining Data Generalization in Data Mining Importance of Data Mining Data Quality in Data Mining Mining Frequent Patterns in Data Mining Data Warehouse and OLAP Technology for Data Mining Need for Data Mining Pattern Evaluation Methods in Data Mining Logarithms and Exponents in Complexity Analysis Time Series Clustering What is the C4.5 Algorithm and How Does It Work? Expanding Contractions in Text Mining Cosine Similarity in Data Mining Lazy Learning in Data Mining Neural Networks in Data Mining Building a Text Normalizer Shallow Parsing Data Pipeline Orchestration Big Data vs Small Data Myths of Data Mining Data Reduction in Data Mining
Ask about this post
AI Ask about this post

Ask questions about Support and Confidence in Data Mining and get answers drawn from it.

Signed-in readers only.