Click or drag to resize

NNDSVDGetInitialFactors Method

Creates an NNDSVD initialization for NMF. Intentionally allows zeros in the result (algorithm for sparse matrices).

Namespace: Altaxo.Calc.LinearAlgebra.Double.Factorization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public virtual (Matrix<double> W, Matrix<double> H) GetInitialFactors(
	Matrix<double> X,
	int rank
)

Parameters

X  MatrixDouble
The non-negative input matrix to be factorized.
rank  Int32
The target factorization rank.

Return Value

ValueTupleMatrixDouble, MatrixDouble
A tuple (W0, H0) containing non-negative initial factors. Both factors may contain zeros; callers are expected to handle zeros as needed (e.g. by adding small offsets).

Implements

INonnegativeMatrixFactorizationInitializerGetInitialFactors(MatrixDouble, Int32)
Remarks
See Also