C# 클래스 numl.Math.Functions.Cost.LinearCostFunction

A Linear Cost Function.
상속: ICostFunction
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

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

메소드 상세

ComputeCost() 공개 메소드

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

ComputeGradient() 공개 메소드

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