Click or drag to resize

INMFUpdateAlgorithmCost Method

Returns the value of the cost function for the non-negative factorization of V = WH. The cost function is minimized by the factorization.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
double Cost(
	DoubleMatrix V,
	DoubleMatrix W,
	DoubleMatrix H
)

Parameters

V
Type: CenterSpace.NMath.CoreDoubleMatrix
The non-negative matrix being factored.
W
Type: CenterSpace.NMath.CoreDoubleMatrix
First factor
H
Type: CenterSpace.NMath.CoreDoubleMatrix
Second factor

Return Value

Type: Double
The cost.
See Also