|
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
)
Public Shared Function FromData (
x As Double()(),
y As Double()
) As MultipleLinearRegression
Request Example
View SourceParameters
- x
- Type: SystemDouble
The input vectors x. - y
- Type: SystemDouble
The output vectors y.
Return Value
Type:
MultipleLinearRegressionA linear regression f(x) that most approximates y.
See Also