> For the complete documentation index, see [llms.txt](https://docs.chord.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chord.co/model-your-data/predictive-models/product-recommendations.md).

# Product recommendations

### Introduction

Product recommendations are generated from a recommendation engine to increase repeat purchase rate and frequency, focusing on advancing first-purchase customers to repeat customers. Product recommendations on Chord can be found in the\*\* Users **explore under the** Product Recommendations \[BETA]\*\* field.

The recommendation engine is generated with a combination of different algorithms, including user clustering in combination with predictions of future product purchases, to produce the following outputs:

* **Advanced Segmentation Clusters:** user-level segmentation clusters useful for segmented targeting and A/B segment testing.
* **Cross-Product Weights:** Tabulation of product cross-sales is useful for answering the question, “Customers that bought x also bought y.”
* **Top-n Product Recommendations:** user-level product recommendations for the most likely next purchase based on product and user similarity, as well as input weights and rules.

### User clustering

Hierarchical clustering is used to generate segments of similar customers. It allows us to rank order how similar one customer is to all other customers. Hierarchical clustering utilizes user attributes, such as:

* Purchase Behavior
* Demographics
* Geography
* Predicted Revenue Features

Chord then adds a distance metric, for which the user attributes are fed into an agglomerative distance algorithm to minimize “close” and maximize “far” relationships.

![](https://2938842758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Oy2IAsu7IvAGAlWgC36%2Fuploads%2Fgit-blob-a98ec162a4d718b2314c5f1b6860f9e9e5da8e81%2Fproduct-recommendations-1.png?alt=media)

### Predicting future product purchases

Once these similarities are generated, we can use them to identify what other similar users have purchased.

![](https://2938842758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Oy2IAsu7IvAGAlWgC36%2Fuploads%2Fgit-blob-3cbaa7e74e2dd63beae0fcb6ac27939a9efafc48%2Fproduct-recommendations-2.png?alt=media)

Another view into future behavior is the relationship between what one customer has purchased and related “cross-product” purchases. Collectively known as collaborative filtering, this process builds weight from user-item relationships and uses them to predict likely future purchase behavior.

![](https://2938842758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Oy2IAsu7IvAGAlWgC36%2Fuploads%2Fgit-blob-2c5ed6d916cbfdc3eedc841ce89c1d6a914873d2%2Fproduct-recommendations-3.png?alt=media)

The final output is the top five product recommendations per user. These predictions are running daily and updated based on new or learned data points. These outputs can be activated in a variety of ways, such as email campaigns with personalized product content.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chord.co/model-your-data/predictive-models/product-recommendations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
