| NMFNonsmoothUpdateCost 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 public double Cost(
DoubleMatrix V,
DoubleMatrix W,
DoubleMatrix H
)
Public Function Cost (
V As DoubleMatrix,
W As DoubleMatrix,
H As DoubleMatrix
) As Double
public:
virtual double Cost(
DoubleMatrix^ V,
DoubleMatrix^ W,
DoubleMatrix^ H
) sealed
abstract Cost :
V : DoubleMatrix *
W : DoubleMatrix *
H : DoubleMatrix -> float
override 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.
Implements
INMFUpdateAlgorithmCost(DoubleMatrix, DoubleMatrix, DoubleMatrix)See Also