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

Default Collaborative Filtering cost function.
Inheritance: CostFunction
ファイルを表示 Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method 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 cost of the given Theta parameter for the training and label sets

Initialize ( ) : void

Initialization method for performing custom actions prior to being optimized.

Method Details

ComputeCost() public method

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
return double

ComputeGradient() public method

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

Initialize() public method

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