# US 2025/0148322 A1 · Predicting customer lifetime value with unified customer data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148322 A1
- Document ID: US20250148322A1
- Status: Published application
- Kind: A1
- Application number: 19/017,142
- Filed: 2025-01-10
- Published: 2025-05-08
- Earliest claimed: 2020-07-24
- Assignees: Amperity, Inc.
- Applicants: Amperity, Inc.
- Inventors: Yan YAN; Aria HAGHIGHI; Nicholas RESNICK; Andrew LIM
- Web page: https://patentgrep.com/patent/US20250148322A1

## CPC

- G06N 5/04: Inference or reasoning models
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/24: Querying
- G06N 20/00: Machine learning
- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06Q 30/01: Customer relationship services
- G06Q 30/0202: Market predictions or forecasting for commercial activities
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Disclosed are techniques for generating features to train a predictive model to predict a customer lifetime value or churn rate. In one embodiment, a method is disclosed comprising receiving a record that includes a plurality of fields and selecting a value associated with a selected field in the plurality of fields. The method then queries a lookup table comprising a mapping of values to aggregated statistics using the value and receives an aggregated statistic based on the querying. Next, the method generates a feature vector by annotating the record with the aggregated statistic. The method uses this feature vector as an input to a predictive model.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
identifying a first set of unique values for at least one demographic field in a unified dataset;
generating a first lookup table by aggregating statistics for each unique value in the first set of unique values;
identifying a second set of unique values for at least one transaction field in the unified dataset;
generating a second lookup table by aggregating statistics for each unique value in the second set of unique values;
identifying a third set of unique values for at least one event field in the unified dataset; generating a third lookup table by aggregating statistics for each unique value in the third set of unique values; and
combining the first lookup table, second lookup table, and third lookup table to generate feature vectors for training a predictive model.

### Claim 22 (depends on 21)

The method of claim 21, wherein the at least one demographic field comprises at least one of a name field, an address field, or a zip code field, and wherein the statistics comprise at least one of an average order total or an average number of orders.

### Claim 23 (depends on 21)

The method of claim 21, wherein the at least one transaction field comprises at least one of a product identifier field, a product name field, or a product price range field, and wherein generating the second lookup table comprises:
selecting a temporal transaction field; and
computing aggregated statistics based on the temporal transaction field.

### Claim 24 (depends on 21)

The method of claim 21, wherein the at least one event field comprises at least one of a store identifier field or a uniform resource locator field, and wherein generating the third lookup table comprises:
identifying event stream data in the unified dataset; and
computing aggregated statistics based on the event stream data.

### Claim 25 (depends on 21)

The method of claim 21, further comprising: deduplicating values in at least one of the first set of unique values, second set of unique values, or third set of unique values by identifying near-duplicate values based on at least one of exact matches or similarity matches.

### Claim 26 (depends on 21)

The method of claim 21, wherein generating at least one of the first lookup table, second lookup table, and third lookup table comprises: creating a complex key by combining two or more fields from the unified dataset; and aggregating statistics based on the complex key.

### Claim 27 (depends on 21)

The method of claim 21, wherein combining the first lookup table, second lookup table, and third lookup table comprises:
receiving an input record;
querying each of the first lookup table, second lookup table, and third lookup table using values from corresponding fields in the input record;
combining returned aggregated statistics from each lookup table; and
generating a feature vector based on the returned aggregated statistics.

### Claim 28

A non-transitory computer-readable storage medium for tangibly storing computer program instructions capable of being executed by a computer processor, the computer program instructions defining steps of:
identifying a first set of unique values for at least one demographic field in a unified dataset;
generating a first lookup table by aggregating statistics for each unique value in the first set of unique values;
identifying a second set of unique values for at least one transaction field in the unified dataset;
generating a second lookup table by aggregating statistics for each unique value in the second set of unique values;
identifying a third set of unique values for at least one event field in the unified dataset;
generating a third lookup table by aggregating statistics for each unique value in the third set of unique values; and
combining the first lookup table, second lookup table, and third lookup table to generate feature vectors for training a predictive model.

### Claim 29 (depends on 28)

The non-transitory computer-readable storage medium of claim 28, wherein the at least one demographic field comprises at least one of a name field, an address field, or a zip code field, and wherein the statistics comprise at least one of an average order total or an average number of orders.

### Claim 30 (depends on 28)

The non-transitory computer-readable storage medium of claim 28, wherein the at least one transaction field comprises at least one of a product identifier field, a product name field, or a product price range field, and wherein generating the second lookup table comprises:
selecting a temporal transaction field; and
computing aggregated statistics based on the temporal transaction field.

### Claim 31 (depends on 28)

The non-transitory computer-readable storage medium of claim 28, wherein the at least one event field comprises at least one of a store identifier field or a uniform resource locator field, and wherein generating the third lookup table comprises:
identifying event stream data in the unified dataset; and
computing aggregated statistics based on the event stream data.

### Claim 32 (depends on 28)

The non-transitory computer-readable storage medium of claim 28, the steps further comprising: deduplicating values in at least one of the first set of unique values, second set of unique values, or third set of unique values by identifying near-duplicate values based on at least one of exact matches or similarity matches.

### Claim 33 (depends on 28)

The non-transitory computer-readable storage medium of claim 28, wherein generating at least one of the first lookup table, second lookup table, and third lookup table comprises: creating a complex key by combining two or more fields from the unified dataset; and aggregating statistics based on the complex key.

### Claim 34 (depends on 28)

The non-transitory computer-readable storage medium of claim 28, wherein combining the first lookup table, second lookup table, and third lookup table comprises:
receiving an input record;
querying each of the first lookup table, second lookup table, and third lookup table using values from corresponding fields in the input record;
combining returned aggregated statistics from each lookup table; and
generating a feature vector based on the returned aggregated statistics.

### Claim 35

A device comprising:
a processor; and
a storage medium for tangibly storing thereon program logic for execution by the processor, the program logic comprising steps for:
identifying a first set of unique values for at least one demographic field in a unified dataset;
generating a first lookup table by aggregating statistics for each unique value in the first set of unique values;
identifying a second set of unique values for at least one transaction field in the unified dataset;
generating a second lookup table by aggregating statistics for each unique value in the second set of unique values;
identifying a third set of unique values for at least one event field in the unified dataset;
generating a third lookup table by aggregating statistics for each unique value in the third set of unique values; and
combining the first lookup table, second lookup table, and third lookup table to generate feature vectors for training a predictive model.

### Claim 36 (depends on 35)

The device of claim 35, wherein the at least one demographic field comprises at least one of a name field, an address field, or a zip code field, and wherein the statistics comprise at least one of an average order total or an average number of orders.

### Claim 37 (depends on 35)

The device of claim 35, wherein the at least one transaction field comprises at least one of a product identifier field, a product name field, or a product price range field, and wherein generating the second lookup table comprises:
selecting a temporal transaction field; and
computing aggregated statistics based on the temporal transaction field.

### Claim 38 (depends on 35)

The device of claim 35, wherein the at least one event field comprises at least one of a store identifier field or a uniform resource locator field, and wherein generating the third lookup table comprises:
identifying event stream data in the unified dataset; and
computing aggregated statistics based on the event stream data.

### Claim 39 (depends on 35)

The device of claim 35, the steps further comprising: deduplicating values in at least one of the first set of unique values, second set of unique values, or third set of unique values by identifying near-duplicate values based on at least one of exact matches or similarity matches.

### Claim 40 (depends on 35)

The device of claim 35, wherein generating at least one of the first lookup table, second lookup table, and third lookup table comprises: creating a complex key by combining two or more fields from the unified dataset; and aggregating statistics based on the complex key.
