|
GeneralizedLinearRegressionFromLogisticRegression Method
|
Note: This API is now obsolete.
Namespace:
Accord.Statistics.Models.Regression
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Simply cast the logistic regression to a GeneralizedLinearRegression instead, using Clone() if necessary.")]
public static GeneralizedLinearRegression FromLogisticRegression(
LogisticRegression regression,
bool makeCopy
)
<ObsoleteAttribute("Simply cast the logistic regression to a GeneralizedLinearRegression instead, using Clone() if necessary.")>
Public Shared Function FromLogisticRegression (
regression As LogisticRegression,
makeCopy As Boolean
) As GeneralizedLinearRegression
Request Example
View SourceParameters
- regression
- Type: Accord.Statistics.Models.RegressionLogisticRegression
A LogisticRegression object. - makeCopy
- Type: SystemBoolean
True to make a copy of the logistic regression values, false
to use the actual values. If the actual values are used, changes done on one model
will be reflected on the other model.
Return Value
Type:
GeneralizedLinearRegressionA new
GeneralizedLinearRegression which is a copy of the
given
LogisticRegression.
See Also