You are here: Start » FIL.NET » Invoke.CreatePCATransform

Invoke.CreatePCATransform

Performs the Principal Component Analysis (PCA) on provided data, creates the feature vector and normalization coefficients (mean and standard deviation of variables).

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CreatePCATransform
(
	Fil.Matrix inMatrix,
	int inDimensions,
	Optional<float> inVarianceToLeave,
	Fil.PCAModel outPCAModel,
	Fil.Matrix outTransformedMatrix,
	Diagnostic<Fil.Matrix> diagCovarianceMatrix,
	Diagnostic<Fil.Matrix> diagNormalizedData,
	Diagnostic<List<int>> diagUsedFeatureIndices
)

Parameters

Name Type Range Default Description
inMatrixFil.MatrixInput data, where variables are in column, and examples are in rows.
inDimensionsint<1, INF>How many data dimensions (variables) to be left in transformed data.
inVarianceToLeaveFtl.Optional<float><0.0f, 1.0f>0.95fHow many of input data variance should be left in transformed data; overrides inDimensions input. Default value: 0.95f.
outPCAModelFil.PCAModelResulting PCA model.
outTransformedMatrixFil.MatrixTransformed inMatrix with reduced dimensionality.
diagCovarianceMatrixFil.Diagnostic<Fil.Matrix>Covariance matrix of input data.
diagNormalizedDataFil.Diagnostic<Fil.Matrix>Input data after normalization: scaling and centering.
diagUsedFeatureIndicesFil.Diagnostic<System.Collections.Generic.List<int>>Indices of columns in inMatrix, which were used as Principal Components.

See also