C# Class Encog.MathUtil.Error.ErrorCalculation

Calculate the error of a neural network. Encog currently supports three error calculation modes. See ErrorCalculationMode for more info.
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Calculate ( ) : double

Returns the root mean square error for a complete training set.

CalculateMSE ( ) : double

Calculate the error with MSE.

CalculateRMS ( ) : double

Calculate the error with RMS.

Reset ( ) : void

Reset the error accumulation to zero.

UpdateError ( double actual, double ideal ) : void

Update the error with single values.

UpdateError ( double actual, double ideal, double significance ) : void

Called to update for each number that should be checked.

Method Details

Calculate() public method

Returns the root mean square error for a complete training set.
public Calculate ( ) : double
return double

CalculateMSE() public method

Calculate the error with MSE.
public CalculateMSE ( ) : double
return double

CalculateRMS() public method

Calculate the error with RMS.
public CalculateRMS ( ) : double
return double

Reset() public method

Reset the error accumulation to zero.
public Reset ( ) : void
return void

UpdateError() public method

Update the error with single values.
public UpdateError ( double actual, double ideal ) : void
actual double The actual value.
ideal double The ideal value.
return void

UpdateError() public method

Called to update for each number that should be checked.
public UpdateError ( double actual, double ideal, double significance ) : void
actual double The actual number.
ideal double The ideal number.
significance double The significance of this error, 1.0 is the baseline.
return void