Class GradientDescent
Gradient descent algorithm class.
Inheritance
System.Object
GradientDescent
Namespace: Paramdigma.Core.Optimization
Assembly: Paramdigma.Core.dll
Syntax
public class GradientDescent : object
Constructors
| Improve this Doc View SourceGradientDescent(GradientDescentOptions)
Initializes a new instance of the GradientDescent class with given options.
Declaration
public GradientDescent(GradientDescentOptions options)
Parameters
Type | Name | Description |
---|---|---|
GradientDescentOptions | options | Settings to apply to this GD instance. |
Fields
| Improve this Doc View SourceOptions
Contains all the options of the current minimization.
Declaration
public GradientDescentOptions Options
Field Value
Type | Description |
---|---|
GradientDescentOptions |
Result
Contains the result of the current minimization.
Declaration
public GradientDescentResult Result
Field Value
Type | Description |
---|---|
GradientDescentResult |
Methods
| Improve this Doc View SourceMinimize(GradientDescent.FitnessFunction, List<Double>)
Run gradient descent algorithm.
Declaration
public void Minimize(GradientDescent.FitnessFunction function, List<double> inputValues)
Parameters
Type | Name | Description |
---|---|---|
GradientDescent.FitnessFunction | function | Delegate function to compute the fitness. |
List<System.Double> | inputValues | Input values to compute the fitness from. |