| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax double Cost(
DoubleMatrix V,
DoubleMatrix W,
DoubleMatrix H
)
Function Cost (
V As DoubleMatrix,
W As DoubleMatrix,
H As DoubleMatrix
) As Double
double Cost(
DoubleMatrix^ V,
DoubleMatrix^ W,
DoubleMatrix^ H
)
abstract Cost :
V : DoubleMatrix *
W : DoubleMatrix *
H : DoubleMatrix -> float
Parameters
- V DoubleMatrix
- The non-negative matrix being factored.
- W DoubleMatrix
- First factor
- H DoubleMatrix
- Second factor
Return Value
DoubleThe cost.
See Also