The contribution to the error from a single training output target. This is the function e(y_i, \hat{y}_i)
            .

Namespace: Imsl.DataMining.Neural
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
double Error(
	double[] computed,
	double[] expected
)
Visual Basic (Declaration)
Function Error ( _
	computed As Double(), _
	expected As Double() _
) As Double
Visual C++
double Error(
	array<double>^ computed, 
	array<double>^ expected
)

Parameters

computed
Type: array< System..::.Double >[]()[]
A double representing the computed value.
expected
Type: array< System..::.Double >[]()[]
A double representing the expected value.

Return Value

A double representing the contribution to the error from a single training output target.

See Also