Type Definition opencv::types::PtrOfEM

source · []
pub type PtrOfEM = Ptr<dyn EM>;

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
The number of mixture components in the Gaussian mixture model. Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could determine the optimal number of mixtures within a specified value range, but that is not the case in ML yet. Read more
Constraint on covariance matrices which defines type of matrices. See EM::Types. Read more
The termination criteria of the %EM algorithm. The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
Estimate the Gaussian mixture parameters from a samples set. Read more
Estimate the Gaussian mixture parameters from a samples set. Read more
Estimate the Gaussian mixture parameters from a samples set. Read more
The number of mixture components in the Gaussian mixture model. Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could determine the optimal number of mixtures within a specified value range, but that is not the case in ML yet. Read more
Constraint on covariance matrices which defines type of matrices. See EM::Types. Read more
The termination criteria of the %EM algorithm. The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
Returns weights of the mixtures Read more
Returns the cluster centers (means of the Gaussian mixture) Read more
Returns covariation matrices Read more
Returns posterior probabilities for the provided samples Read more
Returns a likelihood logarithm value and an index of the most probable mixture component for the given sample. 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