# US 10,956,825 B1 · Distributable event prediction and machine learning recognition system

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

- Number: US 10,956,825 B1
- Document ID: US10956825B1
- Status: Granted
- Kind: B1
- Application number: 16/904,818
- Filed: 2020-06-18
- Granted: 2021-03-23
- Earliest claimed: 2020-03-16
- Assignees: SAS Institute Inc.
- Applicants: SAS Institute Inc.
- Inventors: Xu Chen; Jorge Manuel Gomes da Silva; Brett Alan Wujek
- Web page: https://patentgrep.com/patent/US10956825B1

## CPC

- G06N 5/04: Inference or reasoning models
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Data is classified using semi-supervised data. A weight matrix is computed using a kernel function applied to observation vectors. A decomposition of the computed weight matrix is performed. A predefined number of eigenvectors is selected from the decomposed weight matrix to define a decomposition matrix. (A) A gradient value is computed as a function of the defined decomposition matrix, sparse coefficients, and a label vector. (B) A value of each coefficient of the sparse coefficients is updated based on the gradient value. (A) and (B) are repeated until a convergence parameter value indicates the sparse coefficients have converged. A classification matrix is defined using the converged sparse coefficients. The target variable value is determined and output for each observation vector based on the defined classification matrix to update the label vector and defined to represent the label for a respective unclassified observation vector.

## 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 weight matrix using a kernel function applied to a plurality of observation vectors, wherein the plurality of observation vectors includes a plurality of unclassified observation vectors and a plurality of classified observation vectors, wherein a target variable value is defined to represent a label for each respective observation vector of the plurality of classified observation vectors, wherein the target variable value is not defined to represent the label for each respective observation vector of the plurality of unclassified observation vectors;
(B) perform a decomposition of the computed weight matrix;
(C) select a predefined number of eigenvectors from the decomposed weight matrix to define a decomposition matrix, wherein the predefined number of eigenvectors have largest eigenvalues relative to other eigenvectors not selected from the decomposed weight matrix;
(D) compute a gradient value as a function of the defined decomposition matrix, a plurality of sparse coefficients, and a label vector defined from the plurality of observation vectors based on the target variable value, wherein the gradient value includes an L2-norm term computed for the plurality of sparse coefficients based on a first predefined regularization parameter value;
(E) update a value of each coefficient of the plurality of sparse coefficients based on the computed gradient value and a second predefined regularization parameter value;
(F) repeat (D) and (E) until a convergence parameter value indicates the plurality of sparse coefficients have converged;
(G) define a classification matrix using the converged plurality of sparse coefficients;
(H) determine the target variable value for each observation vector of the plurality of unclassified observation vectors based on the defined classification matrix to update the label vector; and
(I) output the target variable value for each observation vector of the plurality of unclassified observation vectors, wherein the target variable value selected for each observation vector of the plurality of unclassified observation vectors is defined to represent the label for a respective unclassified observation vector;
wherein the plurality of unclassified observation vectors is distributed across a plurality of computing devices and the plurality of classified observation vectors are stored on each computing device of the plurality of computing devices,
wherein (A) through (H) are performed on each computing device of the plurality of computing devices using the plurality of classified observation vectors and the plurality of unclassified observation vectors distributed to each respective computing device.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the computing device is one of the plurality of computing devices.

### Claim 3 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the L2-norm term is computed
L
2
=
2
⁢
⁢
λ
2
⁢
∑
ii
1
2
⁢
∑
i
=
1
m
⁢
∑
ii
1
2
⁢
a
i
,
where L2 is the L2-norm term, λ2 is the first predefined regularization parameter value, ai is an ith coefficient of the plurality of sparse coefficients, and m is the predefined number of eigenvectors.

### Claim 4 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein the gradient value is computed using ∇ai=C3,i+L2, where ∇ai is the gradient value for the ith coefficient of the plurality of sparse coefficients, C3=Vm(Vm a−Y) is an m×1 vector, C3,i is an ith element of C3, Vm is the defined decomposition matrix, a is the plurality of sparse coefficients, Y is the label vector, and indicates a transpose.

### Claim 5 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the gradient value is an m×1 vector for a binary target variable value.

### Claim 6 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the gradient value is an m×c matrix for a target variable value having c possible label values.

### Claim 7 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the classification matrix is defined using F=Vma, where F is the classification matrix, Vm is the defined decomposition matrix, and a is the plurality of sparse coefficients.

### Claim 8 (depends on 7)

The non-transitory computer-readable medium of claim 7, wherein the classification matrix is an N×1 matrix for a binary target variable value or is an N×c matrix for a label set having c possible label values, where N is a number of the plurality of observation vectors.

### Claim 9 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the label vector is defined using Yi=k if xi is labeled as yi=k, otherwise Yi=0, where k=1, . . . , c, Y is the label vector, xi is an ith observation vector of the plurality of observation vectors, yi is the target variable value of the ith observation vector of the plurality of observation vectors, and c is a number of unique values for the target variable value.

### Claim 10 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the label vector is defined using Yi=1 if yi indicates true, Yi=−1 if yi indicates false, otherwise Yi=0, where Y is the label vector, and yi is the target variable value of an ith observation vector of the plurality of observation vectors.

### Claim 11 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the decomposition of the computed weight matrix is a singular value decomposition.

### Claim 12 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein computing the weight matrix comprises:
computing a first matrix using the kernel function and the plurality of observation vectors; and
computing a diagonal matrix by summing each row of the computed first matrix, wherein the sum of each row is stored in a diagonal of a respective row with zeroes in remaining positions of the respective row;
wherein the weight matrix is computed using the computed first matrix and the computed diagonal matrix.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the decomposition of the computed weight matrix is computed using {circumflex over (Z)}=VΣU, where W={circumflex over (Z)}{circumflex over (Z)}=ZD−0.5D−0.5Z, W is the computed weight matrix, indicates a transpose, D is the computed diagonal matrix, Z is the computed first matrix, each column of U is an eigenvector of {circumflex over (Z)}{circumflex over (Z)}, each column of V is an eigenvector of W, and Σ is a second diagonal matrix whose diagonal entries are eigenvalues of W.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the first matrix is computed using
z
ij
=
exp
⁡
(
-

x
i
-
u
j

2
2
⁢
s
2
)
∑
k
∈
N
r
⁡
(
i
)
⁢
exp
⁡
(
-

x
i
-
u
k

2
2
⁢
s
2
)
,
i
=
1
,
2
,
…
⁢
,
N
and j=1, 2, . . . , t,
where zij is an i, jth entry of the first matrix, s is a predefined kernel parameter value, xi is an ith observation vector of the plurality of observation vectors, r is a predefined number of nearest cluster centers, Nr(i) is an index to a nearest cluster center to xi of the predefined number of nearest cluster centers, t is a predefined number of cluster centers, u1 is a jth cluster center selected from the t cluster centers, and N is a number of the plurality of observation vectors.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein a cluster center for each of the predefined number of cluster centers is determined using a k-means clustering algorithm to cluster the plurality of observation vectors.

### Claim 16 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the convergence parameter value is a number of iterations of (F) and convergence is determined after a predefined maximum number of iterations of (F).

### Claim 17 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the convergence parameter value is computed using the updated value of each coefficient of the plurality of sparse coefficients.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the convergence parameter value is a sum of a difference between the value updated in (F) and the value prior to the update in (F) for each coefficient of the plurality of sparse coefficients.

### Claim 19 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein updating the value of each coefficient of the plurality of sparse coefficients comprises:
computing a difference value using the defined decomposition matrix and the computed gradient value;
wherein the value is updated using
a
k
=
max
⁢
{

Δ
k

-
λ
1

V
m

s
,
0
}
,
where ak is a kth coefficient of the plurality of sparse coefficients, Δk is the computed difference value for the kth coefficient of the plurality of sparse coefficients, λ1 is the second predefined regularization parameter value, Vm is the defined decomposition matrix, |Δk| indicates an absolute value of Δk, and ∥Vm∥s indicates a spectral norm of Vm.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the difference value is computed using
Δ
k
=
a
k
-
∇
a
k
⁢
(
c
1
⁡
(
a
k
)
)

V
m

s
2
,
where ∇ak(C1 (ak)) is the gradient value for the kth coefficient of the plurality of sparse coefficients.

### Claim 21 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein determining the target variable value comprises
y
i
=
arg
⁢
max
j
≤
c
⁢
F
i
⁢
j
.
where yi is the target variable value of an ith observation vector of the plurality of observation vectors, F is the defined classification matrix, Fij is a probability value of the ith observation vector for a jth class, and c is a number of unique values for the target variable value.

### Claim 22 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein, before (I), the computer-readable instructions further cause the computing device to:
(J) compute a total loss value from a loss value computed by each computing device of the plurality of computing devices after (A) through (H);
(K) define a total label vector from the updated label vector defined by each computing device of the plurality of computing devices after (A) through (H);
(L) store the computed total loss value in association with values for λi and λ2, where λ1 is the second predefined regularization parameter value, and λ2 is the first predefined regularization parameter value;
(M) repeat (A) to (L) with a plurality of different values for at least one of λ1 and λ2;
(N) after (M), select a value for λ1 and λ2 based on an extremum value of the computed total loss value associated with the selected value for λ1 and λ2 relative to other values of the λ1 and λ2; and
(O) output the selected value for λi and λ2,
wherein the target variable value output for each observation vector of the plurality of unclassified observation vectors in (I) is selected from the defined total label vector associated with the selected value for λ1 and λ2.

### Claim 23 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein the loss value is computed using
C
=
0.5
⁢

V
m
⁢
a
-
Y

2
2
+
λ
1
⁢
∑
i
=
1
m
⁢
∑
ii
1
2
⁢

a
i

+
λ
2
⁡
(
∑
i
=
1
m
⁢
∑
ii
1
2
⁢
a
i
)
2
,
where Vm is the defined decomposition matrix, a is the plurality of sparse coefficients, Y is the label vector, ai is an ith coefficient of the plurality of sparse coefficients, and m is the predefined number of eigenvectors.

### Claim 24 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein in (L), the computed total loss value is further stored in association with values for m, wherein in (M), (A) to (L) is further repeated with a plurality of different values for m, wherein in (N), a value for m is further selected based on the extremum value of the computed total loss value associated with the selected value for λ1, λ2, and m relative to other values of the λ1, λ2, and m, wherein in (O), the selected value for m is further output, and wherein in (I), the target variable value output for each observation vector of the plurality of unclassified observation vectors is selected from the defined total label vector associated with the selected value for λ1, λ2, and m.

### Claim 25 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein in (L), the computed total loss value is further stored in association with values for s, where s is a predefined kernel parameter value of the kernel function, wherein in (M), (A) to (L) is further repeated with a plurality of different values for s, wherein in (N), a value for s is further selected based on the extremum value of the computed total loss value associated with the selected value for λ1, λ2, and s relative to other values of the λ1, λ2, and s, wherein in (O), the selected value for s is further output, and wherein in (I), the target variable value output for each observation vector of the plurality of unclassified observation vectors is selected from the defined total label vector associated with the selected value for λ1, λ2, and s.

### Claim 26 (depends on 25)

The non-transitory computer-readable medium of claim 25, wherein computing the weight matrix comprises computing a first matrix using
z
ij
=
exp
⁡
(
-

x
i
-
u
j

2
2
⁢
s
2
)
∑
k
∈
N
r
⁡
(
i
)
⁢
exp
⁡
(
-

x
i
-
u
k

2
2
⁢
s
2
)
,
i
=
1
,
2
,
…
⁢
,
N
and j=1, 2, . . . , t,
where zij is an i, jth entry of the first matrix, xi is an ith observation vector of the plurality of observation vectors, r is a predefined number of nearest cluster centers, Nr(i) is an index to a nearest cluster center to xi of the predefined number of nearest cluster centers, t is a predefined number of cluster centers, u1 is a jth cluster center selected from the t cluster centers, and N is a number of the plurality of observation vectors.

### Claim 27 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein in (L), the computed total loss value is further stored in association with values for t and r, where r is a predefined number of nearest cluster centers, and t is a predefined number of cluster centers, wherein in (M), (A) to (L) is further repeated with a plurality of different values for at least one of t and r, wherein in (N), a value for t and r is further selected based on the extremum value of the computed total loss value associated with the selected value for λ1, λ2, t and r relative to other values of the λ1, λ2, t and r, wherein in (O), the selected value for t and r is further output, and wherein in (I), the target variable value output for each observation vector of the plurality of unclassified observation vectors is selected from the defined total label vector associated with the selected value for λi, λ2, t and r.

### Claim 28 (depends on 27)

The non-transitory computer-readable medium of claim 27, wherein computing the weight matrix comprises computing a first matrix using
z
ij
=
exp
⁡
(
-

x
i
-
u
j

2
2
⁢
s
2
)
∑
k
∈
N
r
⁡
(
i
)
⁢
exp
⁡
(
-

x
i
-
u
k

2
2
⁢
s
2
)
,
i
=
1
,
2
,
…
⁢
,
N
and j=1, 2, . . . , t,
where zij is an i, jth entry of the first matrix, s is a predefined kernel parameter value, xi is an ith observation vector of the plurality of observation vectors, Nr(i) is an index to a nearest cluster center to xi of the predefined number of nearest cluster centers, uj is a jth cluster center selected from the t cluster centers, and N is a number of the plurality of observation vectors.

### Claim 29

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 weight matrix using a kernel function applied to a plurality of observation vectors, wherein the plurality of observation vectors includes a plurality of unclassified observation vectors and a plurality of classified observation vectors, wherein a target variable value is defined to represent a label for each respective observation vector of the plurality of classified observation vectors, wherein the target variable value is not defined to represent the label for each respective observation vector of the plurality of unclassified observation vectors;
(B) perform a decomposition of the computed weight matrix;
(C) select a predefined number of eigenvectors from the decomposed weight matrix to define a decomposition matrix, wherein the predefined number of eigenvectors have smallest eigenvalues relative to other eigenvectors not selected from the decomposed weight matrix;
(D) compute a gradient value as a function of the defined decomposition matrix, a plurality of sparse coefficients, and a label vector defined from the plurality of observation vectors based on the target variable value, wherein the gradient value includes an L2-norm term computed for the plurality of sparse coefficients based on a first predefined regularization parameter value;
(E) update a value of each coefficient of the plurality of sparse coefficients based on the computed gradient value and a second predefined regularization parameter value;
(F) repeat (D) and (E) until a convergence parameter value indicates the plurality of sparse coefficients have converged;
(G) define a classification matrix using the converged plurality of sparse coefficients;
(H) determine the target variable value for each observation vector of the plurality of unclassified observation vectors based on the defined classification matrix to update the label vector; and
(I) output the target variable value for each observation vector of the plurality of unclassified observation vectors, wherein the target variable value selected for each observation vector of the plurality of unclassified observation vectors is defined to represent the label for a respective unclassified observation vector,
wherein the plurality of unclassified observation vectors is distributed across a plurality of computing devices and the plurality of classified observation vectors are stored on each computing device of the plurality of computing devices,
wherein (A) through (H) are performed on each computing device of the plurality of computing devices using the plurality of classified observation vectors and the plurality of unclassified observation vectors distributed to each respective computing device.

### Claim 30

A method of classifying data using semi-supervised data, the method comprising:
(A) computing, by a computing device, a weight matrix using a kernel function applied to a plurality of observation vectors, wherein the plurality of observation vectors includes a plurality of unclassified observation vectors and a plurality of classified observation vectors, wherein a target variable value is defined to represent a label for each respective observation vector of the plurality of classified observation vectors, wherein the target variable value is not defined to represent the label for each respective observation vector of the plurality of unclassified observation vectors;
(B) performing, by the computing device, a decomposition of the computed weight matrix;
(C) selecting, by the computing device, a predefined number of eigenvectors from the decomposed weight matrix to define a decomposition matrix, wherein the predefined number of eigenvectors have smallest eigenvalues relative to other eigenvectors not selected from the decomposed weight matrix;
(D) computing, by the computing device, a gradient value as a function of the defined decomposition matrix, a plurality of sparse coefficients, and a label vector defined from the plurality of observation vectors based on the target variable value, wherein the gradient value includes an L2-norm term computed for the plurality of sparse coefficients based on a first predefined regularization parameter value;
(E) updating, by the computing device, a value of each coefficient of the plurality of sparse coefficients based on the computed gradient value and a second predefined regularization parameter value;
(F) repeating (D) and (E), by the computing device, until a convergence parameter value indicates the plurality of sparse coefficients have converged;
(G) defining, by the computing device, a classification matrix using the converged plurality of sparse coefficients;
(H) determining, by the computing device, the target variable value for each observation vector of the plurality of unclassified observation vectors based on the defined classification matrix to update the label vector; and
(I) outputting, by the computing device, the target variable value for each observation vector of the plurality of unclassified observation vectors, wherein the target variable value selected for each observation vector of the plurality of unclassified observation vectors is defined to represent the label for a respective unclassified observation vector,
wherein the plurality of unclassified observation vectors is distributed across a plurality of computing devices and the plurality of classified observation vectors are stored on each computing device of the plurality of computing devices,
wherein (A) through (H) are performed on each computing device of the plurality of computing devices using the plurality of classified observation vectors and the plurality of unclassified observation vectors distributed to each respective computing device.
