Factors the matrix contained in data into the product WH using an iterative method. The provided W and H are used as starting points for the iteration.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public virtual void Factor(
	DataFrame data,
	int k,
	DoubleMatrix W,
	DoubleMatrix H
)
Visual Basic (Declaration)
Public Overridable Sub Factor ( _
	data As DataFrame, _
	k As Integer, _
	W As DoubleMatrix, _
	H As DoubleMatrix _
)
Visual C++
public:
virtual void Factor(
	DataFrame^ data, 
	int k, 
	DoubleMatrix^ W, 
	DoubleMatrix^ H
)

Parameters

data
Type: CenterSpace.NMath.Stats..::.DataFrame
The matrix to be factored.
k
Type: System..::.Int32
The number of columns in W (and rows in >H).
W
Type: CenterSpace.NMath.Core..::.DoubleMatrix
Initial value for W. If the matrix to factored is m x n then W must be m x k.
H
Type: CenterSpace.NMath.Core..::.DoubleMatrix
Initial value for H. If the matrix to be factored is m x n then H must be k x n.

See Also