You are here:
Start »
AVL.NET »
AVL.ApplyPCATransform Method
AVL.ApplyPCATransform Method
Applies previously obtained Principal Component Analysis (PCA) transformation coefficients to new data.
| Namespace: | AvlNet |
| Assembly: | AVL.NET.dll |
Syntax
public static void ApplyPCATransform(
AvlNet.Matrix inMatrix,
AvlNet.PCAModel inPCAModel,
out AvlNet.Matrix outTransformedMatrix
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
 | inMatrix | AvlNet.Matrix | | | Input data with variables in columns and examples in rows. |
 | inPCAModel | AvlNet.PCAModel | | | Previously created PCA model to apply to data provided in inMatrix. |
 | outTransformedMatrix | AvlNet.Matrix | | | Transformed inMatrix. |
Errors
| Error type |
Description |
| DomainError |
Malformed inPCAModel - MeanVector and StandardDeviationVector have to have the same length in ApplyPCATransform. |
| DomainError |
Malformed inPCAModel - MeanVector and StandardDeviationVector are not row-vectors in ApplyPCATransform. |
| DomainError |
PCAModel does not match - inMatrix column count does not match in ApplyPCATransform. |
| DomainError |
PCAModel does not match - StandardDeviationVector length is different then inMatrix column count in ApplyPCATransform. |
| DomainError |
PCAModel does not match - PCAFeatureVector dimensions does not correspond to inMatrix dimensions in ApplyPCATransform. |
See also