write_class_svm🔗
Short description🔗
write_class_svm — Write a support vector machine to a file.
Signature🔗
write_class_svm( class_svm SVMHandle, filename.write FileName )
Description🔗
write_class_svm writes the support vector machine (SVM)
SVMHandle to the file given by FileName.
The default HALCON file extension for the SVM classifier is 'gsc'.
write_class_svm is typically called after the SVM has been
trained with train_class_svm. The SVM can be read with
read_class_svm. write_class_svm does not
write any training samples that possibly have been stored in the
SVM. For this purpose, write_samples_class_svm should be
used.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
SVMHandle (input_control) class_svm → (handle)
SVM handle.
FileName (input_control) filename.write → (string)
File name.
File extension: .gsc
Result🔗
If the parameters are valid the operator write_class_svm
returns the value 2 (H_MSG_TRUE). If necessary, an exception is
raised.
Combinations with other operators🔗
Combinations
Possible predecessors
Possible successors
See also
Module🔗
Foundation