Click or drag to resize
Accord.NET (logo) MultipleLinearRegressionRegress Method (Double, Double, Double, Boolean)

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.4.0
[ObsoleteAttribute("Please use the OrdinaryLeastSquares class instead.")]
public double Regress(
	double[][] inputs,
	double[] outputs,
	out double[,] informationMatrix,
	bool robust = true
Request Example View Source


Type: SystemDouble
The input vectors to be used in the regression.
Type: SystemDouble
The output values for each input vector.
Type: SystemDouble
Gets the Fisher's information matrix.
robust (Optional)
Type: SystemBoolean
Set to true to force the use of the SingularValueDecomposition. This will avoid any rank exceptions, but might be more computing intensive.

Return Value

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