Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

A Guide to Association Rule Mining

10 min readApr 5, 2023

--

Photo by Matthias Schröder on Unsplash

Association rule mining is a rule-based machine learning technique used to find frequent patterns in a data set. Frequent patterns may include frequent itemsets that are usually bought together or subsequences that are bought in sequence. For example, cookies and coffee can be frequent itemset for a cafe, and a laptop and external monitor can be a subsequence for an electronics store. Finding frequent patterns in a transactional database and detecting associations between items is an extremely popular data science use case. Some application areas are item recommendations, cross-selling, promotion design, customer behavior analysis, and inventory management.

In this article, we will cover market basket analysis technique for association rule mining and will answer questions including but not limited to:

  • if a customer buys item A how likely will she also buy item B? Is there a positive or negative correlation or it happens totally at random?
  • which items should be placed next to each other in a store or content page of an app?
  • which items can be bundled together in a promotional activity or recommended after showing interest in a certain item?

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Idil Ismiguzel
Idil Ismiguzel

Written by Idil Ismiguzel

Data Scientist | Writing articles on Data Science & Machine Learning | MSc, MBA | https://de.linkedin.com/in/idilismiguzel