C# 클래스 numl.Math.Optimization.Methods.OptimizationMethod

Implements an optimization method when overridden in a derived class.
상속: IOptimizationMethod
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Update() 공개 메소드

Returns a boolean value indicating whether to keep optimizing.

Used for optimization routines with early stopping.

public Update ( OptimizerProperties properties ) : bool
properties OptimizerProperties
리턴 bool

UpdateCost() 공개 메소드

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.
리턴 double

UpdateGradient() 공개 메소드

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.
리턴 numl.Math.LinearAlgebra.Vector

UpdateTheta() 공개 추상적인 메소드

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