Accord.NET Framework

## LogisticRegressionAnalysisCompute Method (Double, Int32) |

**Note: This API is now obsolete.**

Computes the Logistic Regression Analysis.

Syntax

[ObsoleteAttribute("Please set up the Iterations and Tolerance properties and call Learn() instead.")] public bool Compute( double limit = 1E-05, int maxIterations = 50 )

- 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 algorithm.

True if the model converged, false otherwise.

Remarks

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.

See Also