







Public Types
Public Member Functions
Public Attributes
Detailed Description
template<dataobject_types TYPE> class ComputeRPCA< TYPE >
Perform Robust Principal Component Analysis While traditional PCA is very sensitive to data corruption or outliers, RPCA is, as its name implies, robust to data corruption under surprisingly broad conditions. RPCA attempts to split a given matrix M into two matrices S and L: M = L + S where L is a low-rank matrix and S is a sparse matrix of random errors (of arbitrary magnitude and random sign). In the context of SoS, each column vector of M might be a particular field design. Without any prior knowledge about outliers, RPCA is then able to separate correlations between field designs (L) from outliers (S). Security camera footage is a good example, following the M = L + S data model: L represents the slowly changing background, while S represents walking people. See https://arxiv.org/abs/0912.3599 for more examples and a precise definition of the conditions, for RPCA to deliver good results. By default, ComputeRPCA creates two new quantity idents named RPCA[] (L) and RPCAError[] (S). Disable the creation of RPCAError by setting the createRPCAError member variable to false. The algorithm attempts to recover L and S by running the Principal Component Pursuit bi-objective optimization program:







Member Typedef Documentation
TAlgorithmFunction
inherited
defines a function object
Parameters
Returns
the result of the operation
TAlgorithmFunction2
inherited
defines a function object
Parameters
Returns
the result of the operation
Constructor & Destructor Documentation
ComputeRPCA()
Member Function Documentation
check()
inherited
checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine.
Parameters
compute()
inherited
performs the action for a single set of samples
Parameters