C# Class numl.Math.Optimization.Methods.OptimizationMethod

Implements an optimization method when overridden in a derived class.
Inheritance: IOptimizationMethod
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode Description
Update ( OptimizerProperties properties ) : bool

Returns a boolean value indicating whether to keep optimizing.

Used for optimization routines with early stopping.

UpdateCost ( ICostFunction costFunction, OptimizerProperties properties ) : double

Update and return the Cost.

UpdateGradient ( ICostFunction costFunction, OptimizerProperties properties ) : Vector

Update and return the Gradient.

UpdateTheta ( OptimizerProperties properties ) : Vector

Update and return the new Theta value.

Method Details

Update() public méthode

Returns a boolean value indicating whether to keep optimizing.

Used for optimization routines with early stopping.

public Update ( OptimizerProperties properties ) : bool
properties OptimizerProperties
Résultat bool

UpdateCost() public méthode

Update and return the Cost.
public UpdateCost ( ICostFunction costFunction, OptimizerProperties properties ) : double
costFunction ICostFunction The cost function to optimize.
properties OptimizerProperties Properties for the optimization routine.
Résultat double

UpdateGradient() public méthode

Update and return the Gradient.
public UpdateGradient ( ICostFunction costFunction, OptimizerProperties properties ) : Vector
costFunction ICostFunction The cost function to optimize.
properties OptimizerProperties Properties for the optimization routine.
Résultat numl.Math.LinearAlgebra.Vector

UpdateTheta() public abstract méthode

Update and return the new Theta value.
public abstract UpdateTheta ( OptimizerProperties properties ) : Vector
properties OptimizerProperties Properties for the optimization routine.
Résultat numl.Math.LinearAlgebra.Vector