Provides the initial factors for the iteration process that computes W and H in the non-negative matrix factorization V = WH.

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

Syntax

C#
public void InitialFactors(
	ref DoubleMatrix V,
	int k,
	ref DoubleMatrix W,
	ref DoubleMatrix H
)
Visual Basic (Declaration)
Public Sub InitialFactors ( _
	ByRef V As DoubleMatrix, _
	k As Integer, _
	ByRef W As DoubleMatrix, _
	ByRef H As DoubleMatrix _
)
Visual C++
public:
virtual void InitialFactors(
	DoubleMatrix^% V, 
	int k, 
	DoubleMatrix^% W, 
	DoubleMatrix^% H
) sealed

Parameters

V
Type: CenterSpace.NMath.Core..::.DoubleMatrix %
The non-negative being factored
k
Type: System..::.Int32
The number of columns in W and the number of rows in H
W
Type: CenterSpace.NMath.Core..::.DoubleMatrix %
The first factor. Should be V.Rows x k
H
Type: CenterSpace.NMath.Core..::.DoubleMatrix %
The second factor. Should be k x V.Cols

Implements

INMFUpdateAlgorithm..::.InitialFactors(DoubleMatrix%, Int32, DoubleMatrix%, DoubleMatrix%)

See Also