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.