You are here: Start » FIL.NET » Invoke.NormalizeMatrixData
Treats Matrix as a data frame, where examples are in rows while columns represent features, and normalizes the data by subtracting mean from each column and dividing it by its standard deviation.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void NormalizeMatrixData ( Fil.Matrix inMatrix, Optional<Fil.Matrix> inMeansVector, Optional<Fil.Matrix> inStandardDeviationsVector, Fil.Matrix outNormalizedMatrix, Fil.Matrix outMeansVector, Fil.Matrix outStandardDeviationsVector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inMatrix | Fil.Matrix | Input data frame. | ||
![]() | inMeansVector | Ftl.Optional<Fil.Matrix> | If provided, will be used in normalization of inMatrix. Default value: ftl::NIL. | ||
![]() | inStandardDeviationsVector | Ftl.Optional<Fil.Matrix> | If provided, will be used in normalization of inMatrix. Default value: ftl::NIL. | ||
![]() | outNormalizedMatrix | Fil.Matrix | Resulting normalized matrix. | ||
![]() | outMeansVector | Fil.Matrix | Resulting Means vector - copy of inMeansVector, or calculated Means, if inMeansVector was set NIL. | ||
![]() | outStandardDeviationsVector | Fil.Matrix | Resulting StdDevs vector - copy of inStandardDeviationsVector, or calculated Means, if inStandardDeviationsVector was set NIL. |