|
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.8.0
Syntax [ObsoleteAttribute("Please use the parameterless constructor and set Weights and Intercept directly.")]
public static MultivariateLinearRegression FromCoefficients(
double[][] coefficients,
double[] intercept
)
<ObsoleteAttribute("Please use the parameterless constructor and set Weights and Intercept directly.")>
Public Shared Function FromCoefficients (
coefficients As Double()(),
intercept As Double()
) As MultivariateLinearRegression
Request Example
View SourceParameters
- coefficients
- Type: SystemDouble
The linear coefficients. - intercept
- Type: SystemDouble
The intercept (bias) values.
Return Value
Type:
MultivariateLinearRegressionA linear regression with the given coefficients.
See Also