| FloatPCA(FloatMatrix, Boolean, Boolean) Constructor |
Constructs a FloatPCA instance from the given data,
optionally centering and scaling the data before analysis takes place.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatPCA(
FloatMatrix data,
bool center,
bool scale
)
Public Sub New (
data As FloatMatrix,
center As Boolean,
scale As Boolean
)
public:
FloatPCA(
FloatMatrix^ data,
bool center,
bool scale
)
new :
data : FloatMatrix *
center : bool *
scale : bool -> FloatPCA
Parameters
- data FloatMatrix
-
A matrix containing the data. Each column represents a variable; each
row an observation.
- center Boolean
-
A boolean value indicating whether the variables should be
shifted to be zero-centered before analysis takes place.
- scale Boolean
-
A boolean value indicating indicating whether the variables should be
scaled to have unit variance before analysis takes place.
See Also