# US 2017/0293919 A1 · Feature learning on customer journey using categorical sequence data

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

- Number: US 2017/0293919 A1
- Document ID: US20170293919A1
- Status: Published application
- Kind: A1
- Application number: 15/095,850
- Filed: 2016-04-11
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hongfei Li; Anshul Sheopuri; Jinfeng Yi; Qi Yu
- Web page: https://patentgrep.com/patent/US20170293919A1

## CPC

- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06N 20/00: Machine learning
- 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
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method and system are provided. The method includes converting, by a computer having a processor and a memory, categorical sequence data for a customer journey into a numerical similarity matrix. The method further includes learning, by the computer, features of the customer journey by applying a distance metric learning based matrix factorization approach to the numerical similarity matrix.

## Claims

### Claim 1

A method, comprising:
converting, by a computer having a processor and a memory, categorical sequence data for a customer journey into a numerical similarity matrix; and
learning, by the computer, features of the customer journey by applying a distance metric learning based matrix factorization approach to the numerical similarity matrix.

### Claim 2 (depends on 1)

The method of claim 1, wherein the categorical sequence data is non-numerical and lacks an explicit ordering.

### Claim 3 (depends on 1)

The method of claim 1, wherein the features are numerical.

### Claim 4 (depends on 1)

The method of claim 1, further comprising forming a computer learning system by applying a machine learning process to the features.

### Claim 5 (depends on 1)

The method of claim 1, further comprising classifying an object by applying a classification model to the features.

### Claim 6 (depends on 1)

The method of claim 1, further comprising clustering a set of objects by applying a clustering model to the features.

### Claim 7 (depends on 1)

The method of claim 1, further comprising performing a regression operation to generate a relationship estimate between at least two variables by applying a regression model to the features.

### Claim 8 (depends on 1)

The method of claim 1, wherein the distance metric learning based matrix factorization approach automatically learns hidden factors that influence patterns in the categorical sequence data based on the numerical similarity matrix.

### Claim 9 (depends on 1)

The method of claim 1, wherein the distance metric learning based matrix factorization approach automatically learns relationships between different patterns in the categorical sequence data based on the numerical similarity matrix.

### Claim 10 (depends on 1)

The method of claim 1, wherein the distance metric learning based matrix factorization approach automatically learns implicit sequence information in the categorical sequence data based on the numerical similarity matrix.

### Claim 11 (depends on 1)

The method of claim 1, wherein the numerical similarity matrix is formed based on respective numbers of common subsequences between patterns in the categorical sequence data for the customer journey of two users.

### Claim 12 (depends on 11)

The method of claim 11, wherein the common subsequences comprise a plurality of subsequences having different lengths.

### Claim 13 (depends on 12)

The method of claim 12, wherein a similarity is determined for the numerical similarity matrix based on a weighted average of the plurality of subsequences having the different lengths.

### Claim 14 (depends on 1)

The method of claim 1, wherein the distance metric learning based matrix factorization approach comprises forming a binary matrix, each dimension of the binary matrix representing a respective hidden factor from a set of hidden factors, each entry in the binary matrix indicating whether a given respective hidden factor from the set influences a particular pattern from among a plurality of patterns in the categorical sequence data.

### Claim 15 (depends on 14)

The method of claim 14, wherein an objective function measures a relationship between the given respective hidden factor and the particular pattern.

### Claim 16

A non-transitory computer readable storage medium comprising a computer readable program for feature learning, wherein the computer readable program when executed on a computer causes the computer to perform the steps of:
converting, by a computer having a processor and a memory, categorical sequence data for a customer journey into a numerical similarity matrix; and
learning, by the computer, features of the customer journey by applying a distance metric learning based matrix factorization approach to the numerical similarity matrix.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the categorical sequence data is non-numerical and lacks an explicit ordering.

### Claim 18 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the distance metric learning based matrix factorization approach automatically learns hidden factors that influence patterns in the categorical sequence data based on the numerical similarity matrix.

### Claim 19 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the distance metric learning based matrix factorization approach automatically learns relationships between different patterns in the categorical sequence data based on the numerical similarity matrix.

### Claim 20 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the numerical similarity matrix is formed based on respective numbers of common subsequences between patterns in the categorical sequence data for the customer journey of two users.

### Claim 21 (depends on 20)

The non-transitory computer readable storage medium of claim 20, wherein the common subsequences comprise a plurality of subsequences having different lengths.

### Claim 22 (depends on 21)

The non-transitory computer readable storage medium of claim 21, wherein a similarity is determined for the numerical similarity matrix based on a weighted average of the plurality of subsequences having the different lengths.

### Claim 23 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the distance metric learning based matrix factorization approach comprises forming a binary matrix, each dimension of the binary matrix representing a respective hidden factor from a set of hidden factors, each entry in the binary matrix indicating whether a given respective hidden factor from the set influences a particular pattern from among a plurality of patterns in the categorical sequence data.

### Claim 24

A system, comprising:
a computer, having a processor and a memory, configured to:
convert categorical sequence data for a customer journey into a numerical similarity matrix; and
learn features of the customer journey by applying a distance metric learning based matrix factorization approach to the numerical similarity matrix.

### Claim 25 (depends on 20)

The system of claim 20, wherein the computer is implemented as a server using a cloud computing configuration.
