Click or drag to resize
Accord.NET (logo)

MultipleLinearRegressionRegress Method (Double, Double)

Note: This API is now obsolete.

Performs the regression using the input vectors and output data, returning the sum of squared errors of the fit.

Namespace:  Accord.Statistics.Models.Regression.Linear
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
[ObsoleteAttribute("Please use the OrdinaryLeastSquares class instead.")]
public virtual double Regress(
	double[][] inputs,
	double[] outputs
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The input vectors to be used in the regression.
outputs
Type: SystemDouble
The output values for each input vector.

Return Value

Type: Double
The Sum-Of-Squares error of the regression.
See Also