Click or drag to resize
Accord.NET (logo)

ForwardBackwardGradientTGradient Method (Double)

Computes the gradient using the input/outputs stored in this object. This method is not thread safe.

Namespace:  Accord.Statistics.Models.Fields.Learning
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double[] Gradient(
	double[] parameters
)
Request Example View Source

Parameters

parameters
Type: SystemDouble
The parameter vector lambda to use in the model.

Return Value

Type: Double
The value of the gradient vector for the given parameters.
See Also