Click or drag to resize
Accord.NET (logo)

IterativeReweightedLeastSquaresComputeError Method

Note: This API is now obsolete.

Computes the sum-of-squared error between the model outputs and the expected outputs.

Namespace:  Accord.Statistics.Models.Regression.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use the LogLikelihoodLoss class instead.")]
public double ComputeError(
	double[][] inputs,
	double[] outputs
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The input data set.
outputs
Type: SystemDouble
The output values.

Return Value

Type: Double
The sum-of-squared errors.
See Also