serialize_class_svmT_serialize_class_svmSerializeClassSvmSerializeClassSvm (Operator)
Name
serialize_class_svmT_serialize_class_svmSerializeClassSvmSerializeClassSvm
— Serialize a support vector machine (SVM).
Signature
Description
serialize_class_svmserialize_class_svmSerializeClassSvmSerializeClassSvmSerializeClassSvm
serializes a support vector machine (SVM) and
its stored training samples (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
for an
introduction of the basic principle of serialization). The same data that
is written in a file by write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvm
and
write_samples_class_svmwrite_samples_class_svmWriteSamplesClassSvmWriteSamplesClassSvmWriteSamplesClassSvm
is converted to a serialized item.
The support vector machine is defined by the handle SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle
.
The serialized support vector machine is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
and can be deserialized by
deserialize_class_svmdeserialize_class_svmDeserializeClassSvmDeserializeClassSvmDeserializeClassSvm
.
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
SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle
(input_control) class_svm →
HClassSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
SVM handle.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
(output_control) serialized_item →
HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_class_svmserialize_class_svmSerializeClassSvmSerializeClassSvmSerializeClassSvm
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
train_class_svmtrain_class_svmTrainClassSvmTrainClassSvmTrainClassSvm
Possible Successors
clear_class_svmclear_class_svmClearClassSvmClearClassSvmClearClassSvm
,
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem
,
deserialize_class_svmdeserialize_class_svmDeserializeClassSvmDeserializeClassSvmDeserializeClassSvm
See also
create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmCreateClassSvm
,
read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvm
,
write_samples_class_svmwrite_samples_class_svmWriteSamplesClassSvmWriteSamplesClassSvmWriteSamplesClassSvm
,
deserialize_class_svmdeserialize_class_svmDeserializeClassSvmDeserializeClassSvmDeserializeClassSvm
Module
Foundation