Click or drag to resize

NMFClusteringAlgFactor(DoubleMatrix, Int32, DoubleMatrix, DoubleMatrix) Method

Performs the NMF V ~ WH using the specified initial values for W and H.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public bool Factor(
	DoubleMatrix v,
	int k,
	DoubleMatrix w,
	DoubleMatrix h
)

Parameters

v  DoubleMatrix
Matrix to factor.
k  Int32
The rank of the factorization which is the number of columns in H.
w  DoubleMatrix
Initial value for W.
h  DoubleMatrix
Initial value for H.

Return Value

Boolean
True if the algorithm converged.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if k >= the number of columns in V, or if V, W, and H do not have compatible sizes.
See Also