Click or drag to resize

FFNetExternalStop Delegate

The delegate to the function that determines stopping criterion.

Namespace:  FinMath.MachineLearning.NeuralNetworks
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public delegate bool ExternalStop(
	int step,
	TimeSpan elapsedTime,
	double solutionValue,
	Vector solutionPoint
)

Parameters

step
Type: SystemInt32
The optimization step number.
elapsedTime
Type: SystemTimeSpan
The optimization time elapsed.
solutionValue
Type: SystemDouble
The current found solution value;
Remarks
The solutionPoint and solutionValue variables contains the current (last) optimization solution. This solution can be worse than previously found.
solutionPoint
Type: FinMath.LinearAlgebraVector
The current found solution point: the array of Network coefficients.

Return Value

Type: Boolean
Returns true on minimization stop point.
See Also