|
MultipleLinearRegressionFromCoefficients 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 MultipleLinearRegression FromCoefficients(
double[] coefficients,
bool intercept
)
<ObsoleteAttribute("Please use the parameterless constructor and set Weights and Intercept directly.")>
Public Shared Function FromCoefficients (
coefficients As Double(),
intercept As Boolean
) As MultipleLinearRegression
Request Example
View SourceParameters
- coefficients
- Type: SystemDouble
The linear coefficients. - intercept
- Type: SystemBoolean
Whether to include an intercept (bias) term.
Return Value
Type:
MultipleLinearRegressionA linear regression with the given coefficients.
See Also