Click or drag to resize
Accord.NET (logo)

PolynomialRegressionRegress Method

Note: This API is now obsolete.

Performs the regression using the input 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.8.0
Syntax
[ObsoleteAttribute("Please use the OrdinaryLeastSquares class instead.")]
public double Regress(
	double[] inputs,
	double[] outputs
)
Request Example View Source

Parameters

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

Return Value

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