LogisticRegressionAnalysisCompute Method (Double, Int32)
Note: This API is now obsolete.
Computes the Logistic Regression Analysis.
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax Request Example
[ObsoleteAttribute("Please set up the Iterations and Tolerance properties and call Learn() instead.")]
public bool Compute(
double limit = 1E-05,
int maxIterations = 50
<ObsoleteAttribute("Please set up the Iterations and Tolerance properties and call Learn() instead.")>
Public Function Compute (
Optional limit As Double = 1E-05,
Optional maxIterations As Integer = 50
) As Boolean
- limit (Optional)
- Type: SystemDouble
The difference between two iterations of the regression algorithm
when the algorithm should stop. If not specified, the value of
1e-5 will be used. The difference is calculated based on the largest
absolute parameter change of the regression.
- maxIterations (Optional)
- Type: SystemInt32
The maximum number of iterations to be performed by the regression
True if the model converged, false otherwise.
The likelihood surface for the
logistic regression learning is convex, so there will be only one
peak. Any local maxima will be also a global maxima.