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

Inheritance: ICostFunction
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode Description
ComputeCost ( Vector theta ) : double

Compute the error cost of the given Theta parameter for the training and label sets

ComputeGradient ( Vector theta ) : Vector

Compute the error gradient of the given Theta parameter for the training and label sets

LogisticCostFunction ( ) : System.Linq

Initializes a new LogisticCostFunction with the default sigmoid logistic function.

Method Details

ComputeCost() public méthode

Compute the error cost of the given Theta parameter for the training and label sets
public ComputeCost ( Vector theta ) : double
theta numl.Math.LinearAlgebra.Vector Learning Theta parameters
Résultat double

ComputeGradient() public méthode

Compute the error gradient of the given Theta parameter for the training and label sets
public ComputeGradient ( Vector theta ) : Vector
theta numl.Math.LinearAlgebra.Vector Learning Theta parameters
Résultat numl.Math.LinearAlgebra.Vector

LogisticCostFunction() public méthode

Initializes a new LogisticCostFunction with the default sigmoid logistic function.
public LogisticCostFunction ( ) : System.Linq
Résultat System.Linq