Association Analysis in Data Mining

Su Subhalakshmi Chandran Updated 03 Nov 2026
3 min read

Association analysis — finding "if this, then that" relationships between items, along with the support, confidence, and lift measures used to score them — is covered with a full worked example in the lesson on association rule mining, and the Apriori and FP-Growth algorithms that find these relationships at scale are covered in their own dedicated lessons, with Eclat and quantitative (numeric-attribute) rules covered in the lesson on what is association in data mining. This lesson focuses on the one idea from this topic that is genuinely distinct from ordinary association analysis and deserves its own worked example: sequential pattern mining.

Why Sequential Patterns Are a Different Problem, Not a Variant

Ordinary association rules treat a transaction as an unordered set — {Milk, Bread} is the same itemset whether milk or bread was picked up first. Sequential pattern mining asks a question ordinary association analysis cannot answer at all: not just which items tend to occur together, but in what order they tend to occur across a sequence of events. "Customers who buy a computer eventually buy antivirus software" is a claim about order across separate purchases over time, not about items appearing together in a single transaction — which means it needs an algorithm that treats sequence position as meaningful, rather than one built to intersect or count unordered itemsets.

A Worked Example: Finding a Frequent Sequential Pattern

Take three customers' purchase sequences, each listed in the order the purchases occurred:

Customer 1: {Computer} -> {Printer} -> {Antivirus}
Customer 2: {Computer} -> {Antivirus}
Customer 3: {Computer} -> {Printer}

To find a frequent sequential pattern, check how many of the 3 customers' sequences contain a candidate ordered pattern as a subsequence (not necessarily consecutively — a match just has to preserve the relative order):

Candidate <Computer, Antivirus>:
  Customer 1: Computer occurs before Antivirus -> matches
  Customer 2: Computer occurs before Antivirus -> matches
  Customer 3: no Antivirus at all -> does not match
  Support = 2 / 3 ≈ 0.67

Candidate <Computer, Printer>:
  Customer 1: Computer occurs before Printer -> matches
  Customer 2: no Printer at all -> does not match
  Customer 3: Computer occurs before Printer -> matches
  Support = 2 / 3 ≈ 0.67

With a minimum support threshold of 0.5, both <Computer, Antivirus> and <Computer, Printer> qualify as frequent sequential patterns, even though no single customer bought all three items and the two patterns describe two different orderings that partially overlap. Notice what an ordinary (order-blind) association rule would have missed here: it would report {Computer, Printer, Antivirus} as one itemset with a single support value based on co-occurrence alone, collapsing two distinct three-step and two-step sequences into one unordered set and losing the fact that antivirus purchases specifically follow, rather than precede, the computer purchase.

Where This Leaves Sequential Pattern Mining

Real sequential-pattern algorithms — GSP (Generalized Sequential Pattern) being the classic example — extend this same counting logic with the downward-closure principle already covered in the lesson on association rule mining (if a sequence isn't frequent, no longer sequence containing it can be either), applied to ordered subsequences instead of unordered subsets. The core relationships (support, confidence, lift) and the algorithms that scale itemset counting to large datasets (Apriori, FP-Growth, Eclat) remain exactly as covered in their dedicated lessons — sequential pattern mining simply answers a question those algorithms were never designed to answer: not just what occurs together, but what tends to happen next.

0 Comments

Reviewed before they appear

No comments yet.

Data Mining
Introduction to Data Mining Data Mining Implementation Process Data Mining Architecture Data Mining Techniques 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 Classification Algorithms in Data Mining Data Generalization in Data Mining Classification and Prediction in Data Mining Regression in Data Mining What Is an Outlier in Data Mining Data Cleaning in Data Mining Data Processing 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 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 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?
Ask about this post
AI Ask about this post

Ask questions about Association Analysis in Data Mining and get answers drawn from it.

Signed-in readers only.