Click or drag to resize

NMFactFactor(DataFrame, Int32, DoubleMatrix, DoubleMatrix) Method

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public virtual void Factor(
	DataFrame data,
	int k,
	DoubleMatrix W,
	DoubleMatrix H
)

Parameters

data  DataFrame
The matrix to be factored.
k  Int32
The number of columns in W (and rows in >H).
W  DoubleMatrix
Initial value for W. If the matrix to factored is m x n then W must be m x k.
H  DoubleMatrix
Initial value for H. If the matrix to be factored is m x n then H must be k x n.
See Also