# US 2026/0065325 A1 · Auto-segmentation for customer data platforms

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

- Number: US 2026/0065325 A1
- Document ID: US20260065325A1
- Status: Published application
- Kind: A1
- Application number: 18/949,129
- Filed: 2024-11-15
- Published: 2026-03-05
- Earliest claimed: 2024-08-30
- Assignees: Treasure Data, Inc.
- Applicants: Treasure Data, Inc.
- Inventors: Dilyan Kovachev; Yi Shuen Lim
- Web page: https://patentgrep.com/patent/US20260065325A1

## CPC

- G06Q 30/0251: Targeted advertisements
- G06Q 30/0269: {based on user profile or attribute}
- G06F 18/23213: with fixed number of clusters, e.g. K-means clustering
- G06N 3/08: Learning methods
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06Q 30/0204: Market segmentation
- G06Q 30/0242: Determining effectiveness of advertisements
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Computer-implemented methods provide, in various embodiments, processes that can learn from customer data stored in the data repositories of a CDP and automatically cluster customers or users based on specific characteristics, termed behaviors, and attributes to create digitally stored audience definitions or audiences. use machine learning segmentation techniques, such as unsupervised and semi-supervised K-means clustering, with the ability to adjust ML parameters to segment audiences with more context data from the end user rather than relying solely on the ML model as originally written or received from an open-source or other public library. A specified audience can then be the target of digital communications using a variety of channels or platforms. HIVE and PRESTO queries facilitate large-scale data processing in practical time.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, using a customer data platform (CDP) instance, customer data from one or more data sources and storing the customer data in a first table of a SQL-based relational database of a multi-tenant data store, the table of the customer data comprising thousands to millions of rows, each row corresponding to a customer profile;
executing segmentation instructions using the CDP instance to cause the CDP instance to perform:
receiving input specifying context data;
executing a plurality of SQL queries with the first table, including join and filter queries, to create and store a second table of the SQL-based relational database of new user data to predict, new feature data, and to create new cluster labels, based in part on K-means model parameters, of a trained K-means clustering machine-learning model, stored in a third table of the SQL-based relational database;
executing a real-time scoring function on the second table;
using the trained K-means clustering machine-learning model and the second table, including adjusting one or more parameters of the trained K-means clustering machine-learning model based on the context data, outputting a prediction of a first audience segment, the first audience segment comprising one or more profiles of the customer data selected from among all the customer data and relevant to the context data;
communicating the first audience segment to activation instructions, programmed to activate campaigns on a plurality of different communication channels;
dispatching individual communications via personalized communication interfaces toward media servers for communication to customers or users; and
a first workflow configured or programmed to re-train the trained K-means clustering machine-learning model, executed under a file or script having script commands that create and store data, implement an auto-segmentation function to re-train a clustering model, and create output tables.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
presenting the first audience segment in an audience editor;
receiving second input specifying one or more custom weight values to prioritize attribute data specifying customer behaviors or attributes; and
repeating executing the real-time scoring function with the customer data and using the trained K-means clustering machine-learning model including adjusting one or more parameters of the trained machine-learning model based on the one or more custom weight values to cause outputting a second prediction of a second audience segment, the second audience segment comprising one or more second profiles of the customer data selected from among all the customer data and focused on the attribute data.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising executing exploratory data analysis (EDA) instructions programmed to generate metadata describing the second audience segment via aggregation algorithms and statistical algorithms, store the metadata in a statistical database, and generate presentation instructions that are programmed to cause displaying a plurality of different visual representations of the metadata as a visual dashboard on computer display devices with graphical user interfaces.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, the EDA instructions comprising SQL-based code implementing one or more PRESTO and HIVE functions and operations.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the trained machine-learning model comprises a Python-based semi-supervised K-means clustering model; the computer-implemented method further comprising:
selecting a minimal required dataset sample representative of the customer data and relevant to the context data; and
retraining the trained machine-learning model on the minimal required dataset sample.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the segmentation instructions comprise a YAML file with instructions for executing the first workflow based on specified configuration files.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the context data comprises a plurality of different segment labels, each label among the plurality of different segment labels representing a different combination of user attributes and/or behaviors.

### Claim 8 (depends on 2)

The computer-implemented method of claim 2, wherein the new user data specifies new profiles to be added to the customer data or changes in behaviors and attributes of existing profiles; and
wherein executing the plurality of SQL queries includes executing a predictions sub-process to fit the new user data to the first audience segment and the second audience segment.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein executing the predictions sub-process comprises using a nearest-neighbor function to find a particular cluster centroid value in a column of a model table of the customer data that is closest to each new user.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, the method further comprising:
a second workflow configured or programmed to execute the steps of claim 1, executed under a different file or script, programmed to identify the new user data, perform data cleaning and transformation processes, and execute predictions using output tables produced by the first workflow.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the first workflow executes Markov model-based re-training.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, wherein the second workflow executes Markov model-based predictions.

### Claim 13

A computer system comprising:
one or more hardware processors; and
one or more non-transitory computer-readable storage media storing one or more sequences of instructions which, when executed using the one or more hardware processors, cause the one or more hardware processors to execute:
receiving, using a customer data platform (CDP) instance, customer data from one or more data sources and storing the customer data in a first table of a SQL-based relational database of a multi-tenant data store, the table of the customer data comprising thousands to millions of rows, each row corresponding to a customer profile;
executing segmentation instructions using the CDP instance to cause the CDP instance to perform:
receiving input specifying context data;
executing a plurality of SQL queries with the first table, including join and filter queries, to create and store a second table of the SQL-based relational database of new user data to predict, new feature data, and to create new cluster labels, based in part on K-means model parameters, of a trained K-means clustering machine-learning model, stored in a third table of the SQL-based relational database;
executing a real-time scoring function on the second table;
using the trained K-means clustering machine-learning model and the second table, including adjusting one or more parameters of the trained K-means clustering machine-learning model based on the context data, outputting a prediction of a first audience segment, the first audience segment comprising one or more profiles of the customer data selected from among all the customer data and relevant to the context data;
communicating the first audience segment to activation instructions, programmed to activate campaigns on a plurality of different communication channels;
dispatching individual communications via personalized communication interfaces toward media servers for communication to customers or users; and
a first workflow configured or programmed to re-train the trained K-means clustering machine learning model, executed under a file or script having script commands that create and store data, implement an auto-segmentation function to re-train a clustering model, and create output tables.

### Claim 14 (depends on 13)

The computer system of claim 13, further comprising sequences of instructions which, when executed using the one or more hardware processors, cause the one or more hardware processors to execute:
presenting the first audience segment in an audience editor;
receiving second input specifying one or more custom weight values to prioritize attribute data specifying customer behaviors or attributes; and
repeating executing the real-time scoring function with the customer data and using the trained K-means clustering machine-learning model-including adjusting one or more parameters of the trained machine-learning model based on the one or more custom weight values to cause outputting a second prediction of a second audience segment, the second audience segment comprising one or more second profiles of the customer data selected from among all the customer data and focused on the attribute data.

### Claim 15 (depends on 14)

The computer system of claim 14, further comprising sequences of instructions which, when executed using the one or more hardware processors, cause the one or more hardware processors to execute exploratory data analysis (EDA) instructions programmed to generate metadata describing the second audience segment via aggregation algorithms and statistical algorithms, store the metadata in a statistical database, and generate presentation instructions that are programmed to cause displaying a plurality of different visual representations of the metadata as a visual dashboard on computer display devices with graphical user interfaces.

### Claim 16 (depends on 15)

The computer system of claim 15, the EDA instructions comprising SQL-based code implementing one or more PRESTO and HIVE functions and operations.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the trained machine-learning model comprises a Python-based semi-supervised K-means clustering model; the computer system further comprising sequences of instructions which, when executed using the one or more hardware processors, cause the one or more hardware processors to execute:
selecting a minimal required dataset sample representative of the customer data and relevant to the context data; and
retraining the trained machine-learning model on the minimal required dataset sample.

### Claim 18 (depends on 13)

The computer system of claim 13, wherein the segmentation instructions comprise a YAML file with instructions for executing the first workflow based on specified configuration files.

### Claim 19 (depends on 13)

The computer system of claim 13, wherein the context data comprises a plurality of different segment labels, each label among the plurality of different segment labels representing a different combination of user attributes and/or behaviors.

### Claim 20 (depends on 14)

The computer system of claim 14, wherein the new user data specifies new profiles to be added to the customer data or changes in behaviors and attributes of existing profiles; and
wherein executing the plurality of SQL queries includes executing a predictions sub-process to fit the new user data to the first audience segment and the second audience segment.

### Claim 21 (depends on 20)

The computer system of claim 20, further comprising sequences of instructions which, when executed using the one or more hardware processors, cause the one or more hardware processors to execute the predictions sub-process using a nearest-neighbor function to find a particular cluster centroid value in a column of a model table of the customer data that is closest to each new user.

### Claim 22 (depends on 13)

The computer system of claim 13, the computer system further comprising sequences of instructions which, when executed using the one or more hardware processors, cause the one or more hardware processors to execute:
a second workflow configured or programmed to execute the steps of claim 13, executed under a different file or script, programmed to identify the new user data, perform data cleaning and transformation processes, and execute predictions using output tables produced by the first workflow.

### Claim 23 (depends on 13)

The computer system of claim 13, wherein the first workflow executes Markov model-based re-training.

### Claim 24 (depends on 22)

The computer system of claim 22, wherein the second workflow executes Markov model-based predictions.
