8. Market Basket Analysis

Overview

In this chapter, we will explore market basket analysis, which is an algorithm originally designed to help retailers understand and improve their businesses. It is not, however, exclusive to retail, as we will discuss throughout the chapter. Market basket analysis unlocks the underlying relationships between the items that customers purchase. By the end of this chapter, you should have a solid grasp of transaction data, the basic metrics that define the relationship between two items, the Apriori algorithm, and association rules.

Introduction

Most data science practitioners would agree that natural language processing, including topic modeling, is toward the cutting edge of data science and is an active ...

Get The Unsupervised Learning Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.