Click or drag to resize
Accord.NET (logo)

MultivariateLinearRegressionRegress Method

Note: This API is now obsolete.

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

Namespace:  Accord.Statistics.Models.Regression.Linear
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.6.0
Syntax
[ObsoleteAttribute("Please use the LeastSquares 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