Click or drag to resize
Accord.NET (logo)

MultipleLinearRegressionFromData Method

Creates a new linear regression directly from data points.

Namespace:  Accord.Statistics.Models.Regression.Linear
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static MultipleLinearRegression FromData(
	double[][] x,
	double[] y
)
Request Example View Source

Parameters

x
Type: SystemDouble
The input vectors x.
y
Type: SystemDouble
The output vectors y.

Return Value

Type: MultipleLinearRegression
A linear regression f(x) that most approximates y.
See Also