| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public NMFact(
bool computeCostAtEachStep,
int numIterations,
INMFUpdateAlgorithm updateAlgorithm
)
Public Sub New (
computeCostAtEachStep As Boolean,
numIterations As Integer,
updateAlgorithm As INMFUpdateAlgorithm
)
public:
NMFact(
bool computeCostAtEachStep,
int numIterations,
INMFUpdateAlgorithm^ updateAlgorithm
)
new :
computeCostAtEachStep : bool *
numIterations : int *
updateAlgorithm : INMFUpdateAlgorithm -> NMFact
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 See Also