You are here: Start » AVL.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: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void NormalizeMatrixData ( Avl.Matrix inMatrix, Optional<Avl.Matrix> inMeansVector, Optional<Avl.Matrix> inStandardDeviationsVector, Avl.Matrix outNormalizedMatrix, Avl.Matrix outMeansVector, Avl.Matrix outStandardDeviationsVector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inMatrix | Avl.Matrix | Input data frame. | ||
![]() | inMeansVector | Atl.Optional<Avl.Matrix> | If provided, will be used in normalization of inMatrix. Default value: atl::NIL. | ||
![]() | inStandardDeviationsVector | Atl.Optional<Avl.Matrix> | If provided, will be used in normalization of inMatrix. Default value: atl::NIL. | ||
![]() | outNormalizedMatrix | Avl.Matrix | Resulting normalized matrix. | ||
![]() | outMeansVector | Avl.Matrix | Resulting Means vector - copy of inMeansVector, or calculated Means, if inMeansVector was set NIL. | ||
![]() | outStandardDeviationsVector | Avl.Matrix | Resulting StdDevs vector - copy of inStandardDeviationsVector, or calculated Means, if inStandardDeviationsVector was set NIL. |