Click or drag to resize
Accord.NET (logo)

MultivariateLinearRegressionFromData 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.7.0
Syntax
public static MultivariateLinearRegression 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: MultivariateLinearRegression
A linear regression f(x) that most approximates y.
See Also