Click or drag to resize
Accord.NET (logo)

MultivariateLinearRegressionFromCoefficients Method

Note: This API is now obsolete.

Creates a new linear regression from the regression coefficients.

Namespace:  Accord.Statistics.Models.Regression.Linear
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
[ObsoleteAttribute("Please use the parameterless constructor and set Weights and Intercept directly.")]
public static MultivariateLinearRegression FromCoefficients(
	double[][] coefficients,
	double[] intercept
)
Request Example View Source

Parameters

coefficients
Type: SystemDouble
The linear coefficients.
intercept
Type: SystemDouble
The intercept (bias) values.

Return Value

Type: MultivariateLinearRegression
A linear regression with the given coefficients.
See Also