Click or drag to resize
Accord.NET (logo)

BroydenFletcherGoldfarbShannoGradientTolerance Property

A parameter to control the accuracy of the line search routine.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public double GradientTolerance { get; set; }
Request Example View Source

Property Value

Type: Double
Remarks
The default value is 0.9. If the function and gradient evaluations are inexpensive with respect to the cost of the iteration (which is sometimes the case when solving very large problems) it may be advantageous to set this parameter to a small value. A typical small value is 0.1. This parameter should be greater than the ParameterTolerance (1e-4) and smaller than 1.0.
See Also