clear_samples_class_mlp ( : : MLPHandle : )

Clear the training data of a multilayer perceptron.

clear_samples_class_mlp clears all training samples that have been stored in the multilayer perceptron (MLP) MLPHandle. clear_samples_class_mlp should only be used if the MLP is trained in the same process that uses the MLP for evaluation with evaluate_class_mlp or for classification with classify_class_mlp. In this case, the memory required for the training samples can be freed with clear_samples_class_mlp, and hence memory can be saved. In the normal usage, in which the MLP is trained offline and written to a file with write_class_mlp, it is typically unnecessary to call clear_samples_class_mlp because write_class_mlp does not save the training samples, and hence the online process, which reads the MLP with read_class_mlp, requires no memory for the training samples.


Parameters

MLPHandle (input_control)
class_mlp -> integer
MLP handle.


Result

If the parameters are valid, the operator clear_samples_class_mlp returns the value 2 (H_MSG_TRUE). If necessary an exception handling is raised.


Parallelization Information

clear_samples_class_mlp is processed completely exclusively without parallelization.


Possible Predecessors

train_class_mlp, write_samples_class_mlp


See also

create_class_mlp, clear_class_mlp, add_sample_class_mlp, read_samples_class_mlp


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH