You are here: Start » AVL.NET » Function Reference » Data Classification » Principal Component Analysis » AVL.ReversePCATransform
Reverses Principal Component Analysis (PCA) process. Can be used to transform data back to original feature space.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ReversePCATransform ( AvlNet.Matrix inTransformedMatrix, AvlNet.PCAModel inPCAModel, AvlNet.Matrix outMatrix )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inTransformedMatrix | AvlNet.Matrix | Data that was transformed earlier. | ||
![]() | inPCAModel | AvlNet.PCAModel | PCA model used to create inTransformedMatrix. | ||
![]() | outMatrix | AvlNet.Matrix | inTransformedMatrix transformed back to its original feature space. |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Feature vector of inPCAModel and Transformed Data matrices dimensions do not correspond to each other in ReversePCATransform. |
| DomainError | inMeanVector and inStandardDeviationVector have incorrect size for inTransformedMatrix provided in ReversePCATransform. |
| DomainError | Malformed inPCAModel - StandardDeviationVector is not row-vector in ReversePCATransform. |
| DomainError | Malformed inPCAModel - MeanVector is not row-vector in ReversePCATransform. |
| DomainError | Malformed inPCAModel - uneven vector sizes in ReversePCATransform. |


