Click or drag to resize

NMFact(Boolean, Int32, INMFUpdateAlgorithm) Constructor

Constructs an NMFact object with the given parameters for cost at each step, number of iterations and the update algorithm.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public NMFact(
	bool computeCostAtEachStep,
	int numIterations,
	INMFUpdateAlgorithm updateAlgorithm
)

Parameters

computeCostAtEachStep  Boolean
If true, the error in the approximation will be computed after each iteration step. If false, only the final error will be computed.
numIterations  Int32
The number of iterations.
updateAlgorithm  INMFUpdateAlgorithm
Factor update algorithm to use in each update iteration.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if numIterations is <= 0.
See Also