C# Class numl.Math.Functions.Cost.CostFunction

Implements a CostFunction when overridden in a derived class.
Inheritance: ICostFunction
Afficher le fichier Open project: sethjuarez/numl

Méthodes publiques

Méthode Description
ComputeCost ( Vector theta ) : double

Computes the cost of the current theta parameters against the known Y labels.

ComputeGradient ( Vector theta ) : Vector

Computes the current gradient step direction towards the minima.

Initialize ( ) : void

Initialization method for performing custom actions prior to being optimized.

Method Details

ComputeCost() public abstract méthode

Computes the cost of the current theta parameters against the known Y labels.
public abstract ComputeCost ( Vector theta ) : double
theta numl.Math.LinearAlgebra.Vector
Résultat double

ComputeGradient() public abstract méthode

Computes the current gradient step direction towards the minima.
public abstract ComputeGradient ( Vector theta ) : Vector
theta numl.Math.LinearAlgebra.Vector
Résultat numl.Math.LinearAlgebra.Vector

Initialize() public méthode

Initialization method for performing custom actions prior to being optimized.
public Initialize ( ) : void
Résultat void