clear_samples_class_gmm — Clear the training data of a Gaussian Mixture Model.
clear_samples_class_gmm( : : GMMHandle : )
clear_samples_class_gmm clears all training samples that
have been stored in the Gaussian Mixture Model (GMM)
clear_samples_class_gmm should only be
used if the GMM is trained in the same process that uses the GMM for
evaluate_class_gmm or for classification
classify_class_gmm. In this case, the memory required
for the training samples can be freed with
clear_samples_class_gmm, and hence memory can be saved. In
the normal usage, in which the GMM is trained offline and written to
a file with
write_class_gmm, it is typically unnecessary to
does not save the training samples, and hence the online process,
which reads the GMM with
read_class_gmm, requires no memory
for the training samples.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
GMMHandle(input_control, state is modified) class_gmm(-array)
If the parameters are valid, the operator
clear_samples_class_gmm returns the value 2 (H_MSG_TRUE). If
necessary an exception is raised.