Click or drag to resize
LogisticRegression Class
http://www.emgu.com
ML implements logistic regression, which is a probabilistic classification technique.
Inheritance Hierarchy

Namespace:  Emgu.CV.ML
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntax
public class LogisticRegression : UnmanagedObject, 
	IStatModel, IAlgorithm

The LogisticRegression type exposes the following members.

Constructors
  NameDescription
Public methodLogisticRegression
Initializes a new instance of the LogisticRegression class.
Top
Properties
  NameDescription
Public propertyAlgorithmPtr
Return the pointer to the algorithm object
Public propertyIterations
Number of iterations
Public propertyLearningRate
Learning rate
Public propertyMiniBatchSize
Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyRegularization
Kind of regularization to be applied
Public propertyStatModelPtr
Return the pointer to the StatModel object
Public propertyTermCriteria
Termination criteria of the algorithm
Public propertyTrainMethod
Kind of training method to be applied
Top
Methods
  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged resources
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodClear
Clear the statistic model
(Defined by StatModelExtensions.)
Public Extension MethodPredict
Predicts response(s) for the provided sample(s)
(Defined by StatModelExtensions.)
Public Extension MethodRead
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.)
Public Extension MethodSave
Save the statistic model to file
(Defined by StatModelExtensions.)
Public Extension MethodTrain(TrainData, Int32)Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.)
Public Extension MethodTrain(IInputArray, DataLayoutType, IInputArray)Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.)
Public Extension MethodWrite
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.)
Top
See Also