# US 11,120,072 B1 · High dimensional to low dimensional data transformation and visualization system

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

- Number: US 11,120,072 B1
- Document ID: US11120072B1
- Status: Granted
- Kind: B1
- Application number: 17/182,424
- Filed: 2021-02-23
- Granted: 2021-09-14
- Earliest claimed: 2020-07-25
- Assignees: SAS Institute Inc.
- Applicants: SAS Institute Inc.
- Inventors: Kai Shen; Haoyu Wang; Arin Chaudhuri
- Web page: https://patentgrep.com/patent/US11120072B1

## CPC

- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06F 16/55: Clustering; Classification
- G06F 16/56: having vectorial format
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 18/2135: based on approximation criteria, e.g. principal component analysis
- G06F 18/2411: based on the proximity to a decision surface, e.g. support vector machines
- G06V 30/19127: {Extracting features by transforming the feature space, e.g. multidimensional scaling; Mappings, e.g. subspace methods}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A computer transforms high-dimensional data into low-dimensional data. (A) A distance matrix is computed from observation vectors. (B) A kernel matrix is computed from the distance matrix using a bandwidth value. (C) The kernel matrix is decomposed using an eigen decomposition to define eigenvalues. (D) A predefined number of largest eigenvalues are selected from the eigenvalues. (E) The selected largest eigenvalues are summed. (F) A next bandwidth value is computed based on the summed eigenvalues. (A) through (F) are repeated with the next bandwidth value until a stop criterion is satisfied. Each observation vector of the observation vectors is transformed into a second space using a kernel principal component analysis with the next bandwidth value and the kernel matrix. The second space has a dimension defined by the predefined number of first eigenvalues. Each transformed observation vector is output.

## Claims

### Claim 1

A non-transitory computer-readable medium having stored thereon computer-readable instructions that when executed by a computing device cause the computing device to:
(A) compute a distance matrix, wherein the distance matrix includes distance values computed between each pair of a plurality of observation vectors, wherein each observation vector of the plurality of observation vectors includes a variable value for each variable of a plurality of variables;
(B) compute a kernel matrix from the computed distance matrix using a bandwidth value;
(C) decompose the computed kernel matrix using an eigen decomposition to define a plurality of eigenvalues;
(D) select a predefined number of largest eigenvalues from the defined plurality of eigenvalues;
(E) sum the selected, predefined number of largest eigenvalues of the defined plurality of eigenvalues;
(F) compute a next bandwidth value based on the summed, predefined number of largest eigenvalues;
repeat (A) through (F) with the computed next bandwidth value as the bandwidth value until a stop criterion is satisfied;
transform each observation vector of the plurality of observation vectors into a second space using a kernel principal component analysis with the computed next bandwidth value and the kernel matrix computed using the computed next bandwidth value, wherein the second space has a dimension defined by the predefined number of largest eigenvalues; and
output each transformed observation vector of the plurality of observation vectors.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the dimension of the second space is less than a number of the plurality of variables.

### Claim 3 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the predefined number of largest eigenvalues is two or three.

### Claim 4 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the stop criterion is satisfied when a difference between the bandwidth value on a previous execution of (F) and the bandwidth value on a current execution of (F) is less than a predefined tolerance value.

### Claim 5 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the stop criterion is satisfied when a number of iterations of (F) exceeds a predefined maximum number of iterations of (F).

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the computer-readable instructions further cause the computing device to output the bandwidth value computed on a last iteration of (F).

### Claim 7 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the computer-readable instructions further cause the computing device to present a visualization of each transformed observation vector of the plurality of observation vectors in a display.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the computer-readable instructions further cause the computing device to train a clustering model with each transformed observation vector of the plurality of observation vectors to define a plurality of clusters in the second space, wherein each observation vector of the plurality of observation vectors is assigned to a single cluster, and to present a visualization of the defined plurality of clusters in a display.

### Claim 9 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the distance matrix is computed using a Euclidean distance function.

### Claim 10 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the kernel matrix is computed using
K
⁡
(
x
i
,
x
j
)
=
exp
⁡
(
-
D
⁡
(
x
i
,
x
j
)
2
⁢
σ
2
)
,
i
=
1
,
…
⁢
,
N
,
j
=
1
,
…
⁢
⁢
N
,
where xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, D(xi, xj) is the distance matrix, σ is the bandwidth value, and N is a number of the observation vectors included in the plurality of observation vectors.

### Claim 11 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the distance matrix is computed using D(xi,xj)=∥xi−x1∥2, where xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, and ∥ ∥ indicates a Euclidean norm.

### Claim 12 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the next bandwidth value is computed using a Newton-Raphson method.

### Claim 13 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein repeating (A) through (F) until the stop criterion is satisfied is searching for the bandwidth value that maximizes a value of the summed, predefined number of largest eigenvalues.

### Claim 14 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein, before (A), the computer-readable instructions further cause the computing device to compute the bandwidth value using
σ
=
1
2
⁢
N
⁡
(
N
-
1
)
⁢
∑
i
,
j
=
1
N
⁢

x
i
-
x
j

2
,
where σ is the bandwidth value, xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, and N is a number of the observation vectors included in the plurality of observation vectors.

### Claim 15 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein, before (A), the computer-readable instructions further cause the computing device to compute the bandwidth value using
σ
=
1
4
⁢
N
⁡
(
N
-
1
)
⁢
∑
i
,
j
=
1
N
⁢

x
i
-
x
j

2
,
where α is the bandwidth value, xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, and N is a number of the observation vectors included in the plurality of observation vectors.

### Claim 16

A computing device comprising:
a processor; and
a computer-readable medium operably coupled to the processor, the computer-readable medium having computer-readable instructions stored thereon that, when executed by the processor, cause the computing device to
(A) compute a distance matrix, wherein the distance matrix includes distance values computed between each pair of a plurality of observation vectors, wherein each observation vector of the plurality of observation vectors includes a variable value for each variable of a plurality of variables;
(B) compute a kernel matrix from the computed distance matrix using a bandwidth value;
(C) decompose the computed kernel matrix using an eigen decomposition to define a plurality of eigenvalues;
(D) select a predefined number of largest eigenvalues from the defined plurality of eigenvalues;
(E) sum the selected, predefined number of largest eigenvalues of the defined plurality of eigenvalues;
(F) compute a next bandwidth value based on the summed, predefined number of largest eigenvalues;
repeat (A) through (F) with the computed next bandwidth value as the bandwidth value until a stop criterion is satisfied;
transform each observation vector of the plurality of observation vectors into a second space using a kernel principal component analysis with the computed next bandwidth value and the kernel matrix computed using the computed next bandwidth value, wherein the second space has a dimension defined by the predefined number of largest eigenvalues; and
output each transformed observation vector of the plurality of observation vectors.

### Claim 17

A method of transforming high-dimensional data into low-dimensional data, the method comprising:
(A) computing, by a computing device, a distance matrix, wherein the distance matrix includes distance values computed between each pair of a plurality of observation vectors, wherein each observation vector of the plurality of observation vectors includes a variable value for each variable of a plurality of variables;
(B) computing, by the computing device, a kernel matrix from the computed distance matrix using a bandwidth value;
(C) decomposing, by the computing device, the computed kernel matrix using an eigen decomposition to define a plurality of eigenvalues;
(D) selecting, by the computing device, a predefined number of largest eigenvalues from the defined plurality of eigenvalues;
(E) summing, by the computing device, the selected, predefined number of largest eigenvalues of the defined plurality of eigenvalues;
(F) computing, by the computing device, a next bandwidth value based on the summed, predefined number of largest eigenvalues;
repeating, by the computing device, (A) through (F) with the computed next bandwidth value as the bandwidth value until a stop criterion is satisfied;
transforming, by the computing device, each observation vector of the plurality of observation vectors into a second space using a kernel principal component analysis with the computed next bandwidth value and the kernel matrix computed using the computed next bandwidth value, wherein the second space has a dimension defined by the predefined number of largest eigenvalues; and
outputting, by the computing device, each transformed observation vector of the plurality of observation vectors.

### Claim 18 (depends on 17)

The method of claim 17, wherein the dimension of the second space is less than a number of the plurality of variables.

### Claim 19 (depends on 17)

The method of claim 17, wherein the stop criterion is satisfied when a difference between the bandwidth value on a previous execution of (F) and the bandwidth value on a current execution of (F) is less than a predefined tolerance value.

### Claim 20 (depends on 17)

The method of claim 17, wherein the predefined number of largest eigenvalues is two or three.

### Claim 21 (depends on 17)

The method of claim 17, wherein the stop criterion is satisfied when a number of iterations of (F) exceeds a predefined maximum number of iterations of (F).

### Claim 22 (depends on 17)

The method of claim 17, further comprising outputting, by the computing device, the bandwidth value computed on a last iteration of (F).

### Claim 23 (depends on 17)

The method of claim 17, further comprising presenting, by the computing device, a visualization of each transformed observation vector of the plurality of observation vectors in a display.

### Claim 24 (depends on 17)

The method of claim 17, further comprising training, by the computing device, a clustering model with each transformed observation vector of the plurality of observation vectors to define a plurality of clusters in the second space, wherein each observation vector of the plurality of observation vectors is assigned to a single cluster, and presenting, by the computing device, a visualization of the defined plurality of clusters in a display.

### Claim 25 (depends on 17)

The method of claim 17, wherein the distance matrix is computed using a Euclidean distance function.

### Claim 26 (depends on 17)

The method of claim 17, wherein the kernel matrix is computed using
K
⁡
(
x
i
,
x
j
)
=
exp
⁡
(
-
D
⁡
(
x
i
,
x
j
)
2
⁢
σ
2
)
,
i
=
1
,
…
⁢
,
N
,
j
=
1
,
…
⁢
⁢
N
,
i=1, . . . N, j=1, . . . N, where xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, D(xi,xj) is the distance matrix, σ is the bandwidth value, and N is a number of the observation vectors included in the plurality of observation vectors.

### Claim 27 (depends on 17)

The method of claim 17, wherein the distance matrix is computed using D(xi,xj)=∥xi−xj∥2, where xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, and ∥ ∥ indicates a Euclidean norm.

### Claim 28 (depends on 17)

The method of claim 17, wherein repeating (A) through (F) until the stop criterion is satisfied is searching for the bandwidth value that maximizes a value of the summed, predefined number of largest eigenvalues.

### Claim 29 (depends on 17)

The method of claim 17, further comprising, before (A), computing, by the computing device, the bandwidth value using
σ
=
1
2
⁢
N
⁡
(
N
-
1
)
⁢
∑
i
,
j
=
1
N
⁢

x
i
-
x
j

2
,
where σ is the bandwidth value, xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, and N is a number of the observation vectors included in the plurality of observation vectors.

### Claim 30 (depends on 17)

The method of claim 17, further comprising, before (A), computing, by the computing device, the bandwidth value using
σ
=
1
4
⁢
N
⁡
(
N
-
1
)
⁢
∑
i
,
j
=
1
N
⁢

x
i
-
x
j

2
,
where σ is the bandwidth value, xi is an ith observation vector of the plurality of observation vectors, xj is a jth observation vector of the plurality of observation vectors, and N is a number of the observation vectors included in the plurality of observation vectors.
