FactorizationByFastIndependentComponentAnalysisWhiteningBySvd Method |
Performs SVD-based whitening with a heuristic choice between full and truncated SVD:
- Full SVD when k is large.
- Truncated SVD when k is significantly smaller than min(n, m).
Namespace: Altaxo.Calc.LinearAlgebra.Double.FactorizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static (Matrix<double> Xwhite, Matrix<double> V_k, Vector<double> S_k) WhiteningBySvd(
Matrix<double> X,
int k
)
Parameters
- X MatrixDouble
- Input data matrix (samples x features).
- k Int32
- Number of principal components to keep.
Return Value
ValueTupleMatrixDouble,
MatrixDouble,
VectorDouble
A tuple containing the whitened data matrix, the retained right-singular vectors, and the retained singular values.
Exceptions
See Also