read_samples_class_svm — Read the training data of a support vector machine from a file.
read_samples_class_svm reads training samples from the file
FileName and adds them to the training samples
that have already been added to the support vector machine (SVM)
SVMHandle. The SVM must be created with
create_class_svm before calling
read_samples_class_svm. As described with
can be used to build up a extensive set of training samples, and
hence to improve the performance of the SVM by retraining the SVM
with extended data sets.
It should be noted that the training samples must have the correct
dimensionality. The feature vectors and target vectors stored in
FileName must have the lengths
NumClasses that were specified with
create_class_svm. The target is stored in vector form for
compatibility reason with the MLP (see
read_samples_class_mlp). If the dimensions are incorrect an
error message is returned.
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.
SVMHandle(input_control, state is modified) class_svm
If the parameters are valid the operator
read_samples_class_svm returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.