serialize_class_boxT_serialize_class_boxSerializeClassBoxSerializeClassBox (Operator)
Name
serialize_class_boxT_serialize_class_boxSerializeClassBoxSerializeClassBox
— Serialize a classifier.
Warning
serialize_class_boxserialize_class_boxSerializeClassBoxSerializeClassBoxSerializeClassBox
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM, KNN or GMM operators instead.
Signature
Description
serialize_class_boxserialize_class_boxSerializeClassBoxSerializeClassBoxSerializeClassBox
serializes a classifier (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_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBox
is converted to a serialized item.
The classifier is defined by the handle ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandle
. The
serialized classifier is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
and can be deserialized by
deserialize_class_boxdeserialize_class_boxDeserializeClassBoxDeserializeClassBoxDeserializeClassBox
.
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
ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandle
(input_control) class_box →
HClassBox, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the classifier.
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_boxserialize_class_boxSerializeClassBoxSerializeClassBoxSerializeClassBox
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBox
,
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox
,
test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBox
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem
,
deserialize_class_boxdeserialize_class_boxDeserializeClassBoxDeserializeClassBoxDeserializeClassBox
See also
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBox
,
deserialize_class_boxdeserialize_class_boxDeserializeClassBoxDeserializeClassBoxDeserializeClassBox
Module
Foundation