Back to FabImage Library website
You are here: Start » Function Reference » Data Classification » Principal Component Analysis » ReversePCATransform

ReversePCATransform
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Reverses Principal Component Analysis (PCA) process. Can be used to transform data back to original feature space.
Syntax
C++
C#
void fil::ReversePCATransform ( const fil::Matrix& inTransformedMatrix, const fil::PCAModel& inPCAModel, fil::Matrix& outMatrix )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inTransformedMatrix | const Matrix& | Data that was transformed earlier. | |
![]() |
inPCAModel | const PCAModel& | PCA model used to create inTransformedMatrix. | |
![]() |
outMatrix | 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. |