Click or drag to resize
Accord.NET (logo)

BaseLeastSquaresMethodComputeError Method

Compute model error for a given data set.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public double ComputeError(
	double[][] input,
	double[] output
)
Request Example View Source

Parameters

input
Type: SystemDouble
The input points.
output
Type: SystemDouble
The output points.

Return Value

Type: Double
The sum of squared errors for the data.
See Also