You are here: Start » FIL.NET » Function Reference » Data Classification » Principal Component Analysis » FIL.CreatePCATransform
Performs the Principal Component Analysis (PCA) on provided data, creates the feature vector and normalization coefficients (mean and standard deviation of variables).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreatePCATransform ( FilNet.Matrix inMatrix, int inDimensions, FilNet.PCAModel outPCAModel, FilNet.Matrix outTransformedMatrix )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inMatrix | FilNet.Matrix | Input data, where variables are in column, and examples are in rows. | ||
![]() | inDimensions | int | <1, INF> | How many data dimensions (variables) to be left in transformed data. | |
![]() | outPCAModel | FilNet.PCAModel | Resulting PCA model. | ||
![]() | outTransformedMatrix | FilNet.Matrix | Transformed inMatrix with reduced dimensionality. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Cannot conduct PCA on empty matrix in CreatePCATransform. |
DomainError | Cannot conduct principal component analysis for 1-row data set in CreatePCATransform. |
DomainError | Cannot reduce data to less than 1 dimension in CreatePCATransform. |
DomainError | Could not compute eigenvalues and/or eigenvectors in CreatePCATransform. |
DomainError | inDimensions has to be lesser then inMatrix column count in PCA filter in CreatePCATransform. |
DomainError | The process did not converge in CreatePCATransform. |
DomainError | The provided data did not satisfy the prerequisites in CreatePCATransform. |
Function Overrides
- CreatePCATransform(Matrix, Int32, Nullable<Single>, PCAModel, Matrix)
- CreatePCATransform(Matrix, Int32, Nullable<Single>, PCAModel, Matrix, Matrix, Matrix, IList<Int32>)