Insights / Consumer Intelligence / 2 min read

Customer segmentation beyond demographics

How transaction behavior can reveal useful customer groups without reducing people to stereotypes.

Original conceptual illustration; not study data.

Two customers of the same age and income can have very different purchasing patterns. One shops regularly and buys small items; the other makes infrequent but large purchases. A useful segmentation method should reflect the decision a business wants to make, not just the demographic variables it happens to collect.

Start with observed behavior

Recency, frequency and monetary value (RFM) offer a simple starting point. Recency measures time since the last purchase, frequency measures purchase activity, and monetary value summarizes spending over a defined period. The definitions must match the business model: a frequent grocery purchase means something different from a frequent furniture purchase.

Where machine learning helps

Clustering algorithms can group customers by similarities in numerical features. K-means, for instance, assigns records to clusters by distance from cluster centers. Scaling the features matters because spending and purchase frequency may have very different numerical ranges. Highly skewed values may also warrant a transformation.

Algorithms do not automatically produce useful customer categories. A cluster may represent a data artifact, a seasonal effect or a small group of unusually large purchasers. Compare the results with simple RFM rules and assess whether the segments remain stable across periods.

From a cluster to an action

Imagine a hypothetical segment of formerly frequent buyers who have not purchased recently. A retention campaign might be worth testing, but the segment label alone does not prove that an offer will work. Use a holdout group and evaluate incremental response and margin.

A practical research starting point

The UCI Online Retail II dataset contains historical transactions from a UK-based online retailer. It provides a public starting point for exploring transaction-based segmentation, but its age and single-retailer context limit generalization. Returns, missing identifiers and the observation window need explicit treatment.

Further reading

UCI Machine Learning Repository: Online Retail II.

Editorial explainer prepared for this website. Examples are illustrative, not client results or original empirical findings.

← All insights