Type Definition opencv::types::PtrOfLogisticRegression[][src]

pub type PtrOfLogisticRegression = Ptr<dyn LogisticRegression>;

Implementations

Trait Implementations

Clears the algorithm state

Reads algorithm parameters from a file storage

Stores algorithm parameters in a file storage

simplified API for language bindings Stores algorithm parameters in a file storage Read more

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

Learning rate. Read more

Number of iterations. Read more

Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more

Kind of training method used. See LogisticRegression::Methods. Read more

Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It has to take values less than the total number of training samples. Read more

Termination criteria of the algorithm. Read more

Learning rate. Read more

Number of iterations. Read more

Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more

Kind of training method used. See LogisticRegression::Methods. Read more

Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It has to take values less than the total number of training samples. Read more

Termination criteria of the algorithm. Read more

Predicts responses for input samples and returns a float type. Read more

This function returns the trained parameters arranged across rows. Read more

Trains the statistical model Read more

Trains the statistical model Read more

Returns the number of variables in training samples

Returns true if the model is trained

Returns true if the model is classifier

Computes error on the training or test dataset Read more

Predicts response(s) for the provided sample(s) Read more