hyperspy.learn.mlpca module¶
-
hyperspy.learn.mlpca.
mlpca
(X, varX, p, convlim=1e-10, maxiter=50000, fast=False)¶ This function performs MLPCA with missing data.
Parameters: - X (numpy array) – is the mxn matrix of observations.
- stdX (numpy array) – is the mxn matrix of standard deviations associated with X (zeros for missing measurements).
- p (int) – The model dimensionality.
Returns: - U,S,V (numpy array) – are the pseudo-svd parameters.
- Sobj (numpy array) – is the value of the objective function.
- ErrFlag ({0, 1}) – indicates exit conditions: 0 = nkmal termination 1 = max iterations exceeded.