# US 2021/0287116 A1 · 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 2021/0287116 A1
- Document ID: US20210287116A1
- Status: Published application
- Kind: A1
- Application number: 17/178,798
- Filed: 2021-02-18
- Published: 2021-09-16
- 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/US20210287116A1

## CPC

- G06N 5/04: Inference or reasoning models
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Data is classified using semi-supervised data. Sparse coefficients are computed using a decomposition of a Laplacian matrix. (B) Updated parameter values are computed for a dimensionality reduction method using the sparse coefficients, the Laplacian matrix, and a plurality of observation vectors. The updated parameter values include a robust estimator of a decomposition matrix determined from the decomposition of the Laplacian matrix. (B) is repeated until a convergence parameter value indicates the updated parameter values for the dimensionality reduction method have converged. A classification matrix is defined using the sparse coefficients and the robust estimator of the decomposition of the Laplacian matrix. The target variable value is determined for each observation vector based on the classification matrix. The target variable value is output for each observation vector of the plurality of unclassified observation vectors and is defined to represent a 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 plurality of coefficients using a decomposition of a Laplacian matrix, wherein the Laplacian matrix is computed using a kernel function with 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) randomly select a batch of observation vectors from the plurality of observation vectors, wherein a batch number of the plurality of observation vectors included in the selected batch is a predefined batch size parameter value;
(C) compute updated parameter values for a dimensionality reduction method using stochastic gradient descent with the computed plurality of coefficients, the Laplacian matrix, and the selected batch of observation vectors, wherein the updated parameter values include an estimator of a decomposition matrix determined from the decomposition of the Laplacian matrix;
(D) train a machine learning classification model by repeating (A) and (B) until a convergence parameter value indicates the updated parameter values for the dimensionality reduction method have converged;
(E) define a classification matrix using the plurality of coefficients and the estimator of the decomposition of the Laplacian matrix of the trained machine learning classification model;
(F) determine the target variable value for each observation vector of the plurality of unclassified observation vectors from the defined classification matrix; and
(G) 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 label indicates a characteristic determined for each respective unclassified observation vector.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein (A) comprises:
(H) computing a gradient value as a function of the decomposition matrix, the plurality of coefficients, and a label matrix defined from the plurality of observation vectors based on the target variable value;
(I) updating a value of each coefficient of the plurality of coefficients based on the computed gradient value; and
(J) repeating (H) to (I) until a second convergence parameter value indicates the plurality of coefficients have converged.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the updated value of each coefficient of the plurality of coefficients is further based on a first predefined regularization parameter value.

### Claim 4 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein the gradient value includes an L2-norm term computed for each coefficient of the plurality of coefficients based on a second predefined regularization parameter value.

### Claim 5 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the L2-norm term is computed using L2=2λ2(Σppr)0.5Σi=1m(Σiir)0.5αi,k), where L2 is the L2-norm term, λ2 is the second predefined regularization parameter value, αi,k is an ith coefficient of the plurality of coefficients defined for a kth class, m is a predefined number of eigenvectors, Σi=1m indicates a summation from 1 to m, and Σiir indicates an i, ith value of a diagonal matrix computed from the decomposed Laplacian matrix, and p is a pth coefficient of m coefficients defined for the kth class.

### Claim 6 (depends on 5)

The non-transitory computer-readable medium of claim 5, wherein the gradient value is computed using ∇ap,k=C3,i+L2, where ∇ap,k is the gradient value for the p, kth coefficient of the plurality of coefficients, C3=2ek(Vmr)T(Vmrαk−yk) is an mx1 vector, C3,i is an ith element of C3, Vmr is the estimator of the decomposition matrix, αk is the plurality of coefficients defined for the kth class, yk is a kth row of the label matrix, ek is a kth element of a first auxiliary vector, and T indicates a transpose.

### Claim 7 (depends on 32)

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

### Claim 8 (depends on 7)

The non-transitory computer-readable medium of claim 7, wherein the Laplacian matrix is computed using L=I−D−1/2WD−1/2, where L is the Laplacian matrix, I is an N×N identity matrix, D is the computed diagonal matrix, and W is the computed affinity matrix.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the affinity matrix is computed using
W
ij
=
exp
⁢
-

x
i
-
x
j

2
2
⁢
s
2
⁢
⁢
if
⁢
⁢
i
≠
j
and Wii=0 for i=j, for i=1, . . . , N and j=1, . . . , N, where s is a predefined kernel parameter 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 plurality of observation vectors.

### Claim 10 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein, before (F), the computer-readable instructions further cause the computing device to:
(K) compute a loss value after (A) through (D);
(L) update the label matrix based on the defined classification matrix;
(M) store the computed loss value in association with values for λ1, λ2, m, and s, where λ1 is the first predefined regularization parameter value, λ2 is the second predefined regularization parameter value, m is a predefined number of eigenvectors, and s is a predefined kernel parameter value of the kernel function;
(N) repeat (A) through (D) and (K) through (M) with a plurality of different values for at least one of λ1, λ2, m, and s;
(O) after (N), select a value for λ1, λ2, m, and s based on an extremum value of the computed loss value associated with the selected value for λ1, λ2, m, and s relative to other values of λ1, λ2, m, and s; and
(P) output the selected value for λ1, λ2, m, and s,
wherein the target variable value determined for each observation vector of the plurality of unclassified observation vectors in (F) is based on the updated label matrix associated with the selected value for λ1, λ2, m, and s.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the loss value is computed using C=Σk=1c[ek∥Vmrαk−yk∥22+λ1Σi=1m((Σiir)0.5|αi,k|)+λ2Σi=1m((Σiir)0.5αi,k)2], where c is a number of classes determined based on possible values of the target variable value, ek is a kth element of a first auxiliary vector, Vmr is the estimator of the decomposition matrix, αk is the plurality of coefficients defined for the kth class, yk is a kth row of the label matrix, λ1 is the first predefined regularization parameter value, m is the predefined number of eigenvectors, Eiir indicates an i, ith value of a diagonal matrix computed from the decomposed Laplacian matrix, αi,k is an ith coefficient of the plurality of coefficients defined for a kth class, and |αi,k| indicates an absolute value of αi,k.

### Claim 12

(canceled)

### Claim 13 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein, before (F), the computer-readable instructions further cause the computing device to:
(K) compute a loss value after (A) through (D);
(L) update the label matrix based on the defined classification matrix;
(M) store the computed loss value in association with values for λ1, λ2, λ3, λ4, m, and s, where λ1 is the first predefined regularization parameter value, λ2 is the second predefined regularization parameter value, m is a predefined number of eigenvectors, s is a predefined kernel parameter value of the kernel function, λ3 is a third predefined regularization parameter value, and λ4 is a fourth predefined regularization parameter value
(N) repeat (A) through (D) and (K) through (M) with a plurality of different values for at least one of λ1, λ2, λ3, λ4, m, and s;
(O) after (N), select a value for λ1, λ2, λ3, λ4, m, and s based on an extremum value of the computed loss value associated with the selected value for λ1, λ2, λ3, λ4, m, and s relative to other values of λ1, λ2, λ3, λ4, m, and s; and
(P) output the selected value for λ1, λ2, λ3, λ4, m, and s,
wherein the target variable value determined for each observation vector of the plurality of unclassified observation vectors in (F) is based on the updated label matrix associated with the selected value for λ1, λ2, λ3, λ4, m, and s.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the loss value is computed using Csw=J1(α)+J2(S, Vmr, Σmr, e, b, d), where J1(α) is a first loss value computed using the plurality of sparse coefficients, α is the computed plurality of coefficients, J2(S, Vmr, Σmr, e, b, d) is a second loss value computed using the updated values for the parameter values, and S, Vmr, Σmr, e, b, d are the updated values for the parameter values.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the first loss value is computed using J1(α)=Σk=1c[ek∥Vmrαk−yk∥22+λ1Σi=1m((Σiir)0.5|αi,k|)+λ2Σi=1m((Σiir)0.5αi,k)2], where c is a number of classes determined based on possible values of the target variable value, ek is a kth element of a first auxiliary vector e, Vmr is the estimator of the decomposition matrix, αk is the plurality of coefficients defined for the kth class, γk is a kth row of the label matrix, Eiir indicates an i, ith value of a diagonal matrix computed from the decomposed Laplacian matrix, αi,k is an ith coefficient of the plurality of coefficients defined for a kth class, ∥ ∥2 indicates a squared Euclidean norm, and | | indicates an absolute value.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the second loss value is computed using J2(S,Vmr,Σmr,e,b,d)=Σk=1cek∥Vmrαk−yk∥22+Σi=1Nbi∥Lm−VmrΣmr(Vmr)T∥22+λ3Σi=1NΣj∈NN(xi)si,jdi,j∥Vmr(Σmr(Vmr)T)i−Vmr(Σmr(Vmr)T)j∥22+ϕ(e)+ϕ(b)+ϕ(d)+λ4Σi=1N∥Si∥22, where N is a number of the plurality of observation vectors, bi is an ith element of a second auxiliary vector b, Lm is the Laplacian matrix with the predefined number of eigenvectors, Σmr indicates an estimator of the diagonal matrix computed from the decomposed Laplacian matrix, j∈NN(xi) indicates an index to an observation vector of the plurality of observation vectors that is a nearest neighbor of xi, xi is an ith observation vector of the plurality of observation vectors, Σj∈NN(xi) indicates a summation over each nearest neighbor of xi, si,j is an i, jth element of a similarity matrix S, di,j is an i, jth element of an auxiliary matrix d, ϕ(e) indicates a first estimator of e, ϕ(b) indicates a first estimator of b, ϕ(d) indicates a first estimator of d, si is an ith vector of the similarity matrix S, and T indicates a transpose.

### Claim 17 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the plurality of unclassified observation vectors are 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 the computing device is one of the plurality of computing devices,
wherein the computer-readable instructions are performed on each computing device of the plurality of computing devices using the plurality of classified observation vectors stored on each respective computing device and the plurality of unclassified observation vectors distributed to each respective computing device.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein, before (F), the computer-readable instructions further cause each computing device of the plurality of computing devices to:
(K) compute a loss value after (A) through (D);
(L) update the label matrix based on the defined classification matrix;
(M) store the computed loss value in association with values for λ1, λ2, λ3, λ4, m, and s, where λ1 is the first predefined regularization parameter value, λ2 is the second predefined regularization parameter value, m is a predefined number of eigenvectors, s is a predefined kernel parameter value of the kernel function, λ3 is a third predefined regularization parameter value, and λ4 is a fourth predefined regularization parameter value.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein, before (F) and after (M), the computer-readable instructions further cause a controller computing device to:
(N) compute a total loss value as a sum of the computed loss value stored by each computing device of the plurality of computing devices; and
(O) define an overall label matrix as a concatenation of the label matrix updated by each computing device of the plurality of computing devices,
wherein the target variable value determined for each observation vector of the plurality of unclassified observation vectors in (F) is based on the defined overall label matrix associated with the selected value for λ1, λ2, λ3, λ4, m, and s.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein, before (F) and after (O), the computer-readable instructions further cause a controller computing device to:
(P) select a different value for at least one of λ1, λ2, λ3, λ4, m, and s;
(Q) repeat (A) through (D) and (K) through (Q) with the selected different value for at least one of λ1, λ2, λ3, λ4, m, and s;
(R) repeat (P) and (Q) a plurality of times;
(S) after (R), select a value for λ1, λ2, λ3, λ4, m, and s based on an extremum value of the computed loss value associated with the selected value for λ1, λ2, λ3, λ4, m, and s relative to other values of λ1, λ2, λ3, λ4, m, and s; and
(T) output the selected value for λ1, λ2, λ3, λ4, m, and s.

### Claim 21 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the loss value is computed using Csw=J1(α)+J2(S, Vmr, Σmr, e, b, d), where J1(α) is a first loss value computed using the plurality of coefficients, α is the computed plurality of coefficients, J2(S, Vmr, Σmr, e, b, d) is a second loss value computed using the updated values for the parameter values, and S, Vmr, Σmr, e, b, d are the updated values for the parameter values.

### Claim 22 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the classification matrix is defined using F=Vmra, where F is the classification matrix, Vmr is the estimator of the decomposition matrix computed in (C), and a is the computed plurality of coefficients.

### Claim 23 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein Vmr is an N×m matrix, where N is a number of the plurality of observation vectors, and m is a predefined number of eigenvectors.

### Claim 24 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein a is an m×c matrix, where c is a number of classes determined based on possible values of the target variable value.

### Claim 25 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein c=1 when the target variable value is binary.

### Claim 26 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the plurality of unclassified observation vectors are 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 the computing device is one of the plurality of computing devices,
wherein the computer-readable instructions are performed on each computing device of the plurality of computing devices using the plurality of classified observation vectors stored on each respective computing device and the plurality of unclassified observation vectors distributed to each respective computing device.

### Claim 27

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 plurality of coefficients using a decomposition of a Laplacian matrix, wherein the Laplacian matrix is computed using a kernel function with 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) randomly select a batch of observation vectors from the plurality of observation vectors, wherein a batch number of the plurality of observation vectors included in the selected batch is a predefined batch size parameter value;
(C) compute updated parameter values for a dimensionality reduction method using stochastic gradient descent with the computed plurality of coefficients, the Laplacian matrix, and the selected batch of observation vectors, wherein the updated parameter values include an estimator of a decomposition matrix determined from the decomposition of the Laplacian matrix;
(D) train a machine learning classification model by repeating (A) and (B) until a convergence parameter value indicates the updated parameter values for the dimensionality reduction method have converged;
(E) define a classification matrix using the plurality of coefficients and the estimator of the decomposition of the Laplacian matrix of the trained machine learning classification model;
(F) determine the target variable value for each observation vector of the plurality of unclassified observation vectors from the defined classification matrix; and
(G) 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 label indicates a characteristic determined for each respective unclassified observation vector.

### Claim 28

A method of classifying data using semi-supervised data, the method comprising:
(A) computing, by a computing device, a plurality of coefficients using a decomposition of a Laplacian matrix, wherein the Laplacian matrix is computed using a kernel function with 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) randomly selecting, by the computing device, a batch of observation vectors from the plurality of observation vectors, wherein a batch number of the plurality of observation vectors included in the selected batch is a predefined batch size parameter value;
(C) computing, by the computing device, updated parameter values for a dimensionality reduction method using stochastic gradient descent with the computed plurality of coefficients, the Laplacian matrix, and the selected batch of observation vectors, wherein the updated parameter values include an estimator of a decomposition matrix determined from the decomposition of the Laplacian matrix;
(D) training a machine learning classification model by repeating, by the computing device, (A) and (B) until a convergence parameter value indicates the updated parameter values for the dimensionality reduction method have converged;
(E) defining, by the computing device, a classification matrix using the plurality of coefficients and the estimator of the decomposition of the Laplacian matrix of the trained machine learning classification model;
(F) determining, by the computing device, the target variable value for each observation vector of the plurality of unclassified observation vectors from the defined classification matrix; and
(G) 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 label indicates a characteristic determined for each respective unclassified observation vector.

### Claim 29

(canceled)

### Claim 30 (depends on 28)

The method of claim 28, wherein (A) comprises:
(H) computing, by the computing device, a gradient value as a function of the decomposition matrix, the plurality of coefficients, and a label matrix defined from the plurality of observation vectors based on the target variable value;
(I) updating, by the computing device, a value of each coefficient of the plurality of coefficients based on the computed gradient value; and
repeating, by the computing device, (H) to (I) until a second convergence parameter value indicates the plurality of coefficients have converged.

### Claim 31 (depends on 28)

The method of claim 28, further comprising before (A):
computing, by the computing device, the Laplacian matrix using the kernel function with the plurality of observation vectors;
performing, by the computing device, the decomposition of the computed Laplacian matrix; and
selecting, by the computing device, a predefined number of eigenvectors from the decomposed Laplacian matrix to define the decomposition matrix, wherein the predefined number of eigenvectors have smallest eigenvalues relative to other eigenvectors not selected from the decomposed Laplacian matrix.

### Claim 32 (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 Laplacian matrix using the kernel function with the plurality of observation vectors;
perform the decomposition of the computed Laplacian matrix; and
select a predefined number of eigenvectors from the decomposed Laplacian matrix to define the decomposition matrix, wherein the predefined number of eigenvectors have smallest eigenvalues relative to other eigenvectors not selected from the decomposed Laplacian matrix.
