# US 2013/0159373 A1 · Matrix storage for system identification

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

- Number: US 2013/0159373 A1
- Document ID: US20130159373A1
- Status: Published application
- Kind: A1
- Application number: 13/718,652
- Filed: 2012-12-18
- Published: 2013-06-20
- Earliest claimed: 2011-12-19
- Assignees: International Business Machines Corporation
- Inventors: Yoichi Hatsutori; Hisashi Miyashita
- Web page: https://patentgrep.com/patent/US20130159373A1

## CPC

- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A sparse matrix used in the least-squares method is divided into small matrices in accordance with the number of elements of observation. An observation ID is assigned to each element of observation, a parameter ID is assigned to each parameter, and the IDs are associated with parameters of elements as ID mapping. A system determines positions of nonzero elements in accordance with whether or not ID mapping exists, the correspondence between observation IDs and parameter IDs, and the positions of the small matrices, and selects a storage scheme for each small matrix based thereon. The system selects a storage scheme in accordance with conditions, such as whether or not a target element is a diagonal element, whether or not a term decided without ID mapping exists, and whether or not the same ID mapping is referred to.

## Claims

### Claim 1

A method for performing parametric system identification on the basis of a least-squares method through a process performed by a computer, the method comprising the steps of:
preparing measurement values, observation models, and parameters;
creating ID mapping in which the measurement values and values of the parameters are associated with the parameters; and
storing the parameters in a matrix to calculate the parameters by using the least-squares method, wherein the matrix is divided into small matrices,
in a case where a target small matrix among the small matrices is a diagonal small matrix, a component of an N×N sparse matrix is generated at a position of offset M from a principal diagonal and block sparse row (BSR) or diagonal (DIA) is selected if the ID mapping exists, and an N×N dense matrix is selected if the ID mapping does not exist, N being the number of parameters defined by values of the parameters, and M being a value of a parameter index,
in a case where the target small matrix is not a diagonal small matrix and a term decided without the ID mapping exists, a dense matrix is stored, and
in a case where the target small matrix is not a diagonal small matrix and a term decided without the ID mapping does not exist,
if the same ID mapping is referred to, a block exists on the principal diagonal and BSR or DIA is selected, and
if the same ID mapping is not referred to, elements are stored by using ELLPACK/ITPACK (ELL) if the number of parameters of a left element is larger than the number of parameters of a right element, and elements are stored by using compressed sparse row (CSR) if the number of parameters of the left element is not larger than the number of parameters of the right element.

### Claim 2 (depends on 1)

The method of claim 1, further comprising the step of generating blocks of the number of parameters of the left element×the number of parameters of the right element in advance if the target small matrix is not a diagonal small matrix.

### Claim 3 (depends on 1)

The method of claim 1, further comprising the step of deciding parameters by solving, using a scaled conjugate gradient method, an equation including the matrix stored.

### Claim 4

A computer program product for executing a method for performing parametric system identification on the basis of a least-squares method, the computer program product comprising a computer readable storage medium having computer readable program code embodied therewith, which, when executed, causes a computer to execute the steps of:
preparing measurement values, observation models, and parameters;
creating ID mapping in which the measurement values and values of the parameters are associated with the parameters; and
storing the parameters in a matrix to calculate the parameters by using the least-squares method, wherein the matrix is divided into small matrices,
in a case where a target small matrix among the small matrices is a diagonal small matrix, a component of an N×N sparse matrix is generated at a position of offset M from a principal diagonal and block sparse row (BSR) or diagonal (DIA) is selected if the ID mapping exists, and an N×N dense matrix is selected if the ID mapping does not exist, N being the number of parameters defined by values of the parameters, and M being a value of a parameter index,
in a case where the target small matrix is not a diagonal small matrix and a term decided without the ID mapping exists, a dense matrix is stored, and
in a case where the target small matrix is not a diagonal small matrix and a term decided without the ID mapping does not exist,
if the same ID mapping is referred to, a block exists on the principal diagonal and BSR or DIA is selected, and
if the same ID mapping is not referred to, elements are stored by using ELLPACK/ITPACK (ELL) if the number of parameters of a left element is larger than the number of parameters of a right element, and elements are stored by using compressed sparse row (CSR) if the number of parameters of the left element is not larger than the number of parameters of the right element.

### Claim 5 (depends on 4)

The computer program product of claim 4, wherein the computer program product further causes the computer to execute the step of generating blocks of the number of parameters of the left element×the number of parameters of the right element in advance if the target small matrix is not a diagonal small matrix.

### Claim 6 (depends on 4)

The computer program product of claim 4, wherein the computer program product further causes the computer to execute the step of deciding parameters by solving, using a scaled conjugate gradient method, an equation including the matrix stored.

### Claim 7

A system for performing parametric system identification on the basis of a least-squares method through a process performed by a computer, the system comprising:
storage means;
measurement values, observation models, and data of parameters stored in the storage means;
data of ID mapping stored in the storage means, the ID mapping associating the measurement values and values of the parameters with the parameters; and
means for storing the parameters in a matrix to calculate the parameters by using the least-squares method, wherein the matrix is divided into small matrices,
in a case where a target small matrix among the small matrices is a diagonal small matrix, a component of an N×N sparse matrix is generated at a position of offset M from a principal diagonal and block sparse row (BSR) or diagonal (DIA) is selected if the ID mapping exists, and an N×N dense matrix is selected if the ID mapping does not exist, N being the number of parameters defined by values of the parameters, and M being a value of a parameter index,
in a case where the target small matrix is not a diagonal small matrix and a twin decided without the ID mapping exists, a dense matrix is stored, and
in a case where the target small matrix is not a diagonal small matrix and a term decided without the ID mapping does not exist,
if the same ID mapping is referred to, a block exists on the principal diagonal and BSR or DIA is selected, and
if the same ID mapping is not referred to, elements are stored by using ELLPACK/ITPACK (ELL) if the number of parameters of a left element is larger than the number of parameters of a right element, and elements are stored by using compressed sparse row (CSR) if the number of parameters of the left element is not larger than the number of parameters of the right element.

### Claim 8 (depends on 7)

The system of claim 7, further comprising means for generating blocks of the number of parameters of the left element×the number of parameters of the right element in advance if the target small matrix is not a diagonal small matrix.

### Claim 9 (depends on 7)

The system of claim 7, further comprising means for deciding parameters by solving, using a scaled conjugate gradient method, an equation including the matrix stored.
