write_samples_class_mlp ( : : MLPHandle, FileName : )

Write the training data of a multilayer perceptron to a file.

write_samples_class_mlp writes the training samples stored in the multilayer perceptron (MLP) MLPHandle to the file given by FileName. write_samples_class_mlp can be used to build up a database of training samples, and hence to improve the performance of the MLP by training it with an extended data set (see train_class_mlp). For other possible uses of write_samples_class_mlp see get_prep_info_class_mlp.

The file FileName is overwritten by write_samples_class_mlp. Nevertheless, extending the database of training samples is easy to do because read_samples_class_mlp and add_sample_class_mlp add the training samples to the training samples that are already stored in memory with the MLP.


Parameters

MLPHandle (input_control)
class_mlp -> integer
MLP handle.

FileName (input_control)
filename -> string
File name.


Result

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


Parallelization Information

write_samples_class_mlp is reentrant and processed without parallelization.


Possible Predecessors

add_sample_class_mlp


Possible Successors

clear_samples_class_mlp


See also

create_class_mlp, get_prep_info_class_mlp, read_samples_class_mlp


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH