serialize_class_boxT_serialize_class_boxSerializeClassBoxSerializeClassBoxserialize_class_box (Operator)
Name
serialize_class_boxT_serialize_class_boxSerializeClassBoxSerializeClassBoxserialize_class_box
— Serialize a classifier.
Warning
serialize_class_boxserialize_class_boxSerializeClassBoxSerializeClassBoxSerializeClassBoxserialize_class_box
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_boxSerializeClassBoxSerializeClassBoxSerializeClassBoxserialize_class_box
serializes a classifier (see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the basic
principle of serialization). The same data that is written in a
file by write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBoxwrite_class_box
is converted to a serialized item.
The classifier is defined by the handle ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandleclassif_handle
. The
serialized classifier is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_class_boxdeserialize_class_boxDeserializeClassBoxDeserializeClassBoxDeserializeClassBoxdeserialize_class_box
.
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
ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandleclassif_handle
(input_control) class_box →
HClassBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the classifier.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(output_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_class_boxserialize_class_boxSerializeClassBoxSerializeClassBoxSerializeClassBoxserialize_class_box
returns the value TRUE. If
necessary, an exception is raised.
Possible Predecessors
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBoxcreate_class_box
,
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBoxenquire_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box
,
test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBoxtest_sampset_box
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_class_boxdeserialize_class_boxDeserializeClassBoxDeserializeClassBoxDeserializeClassBoxdeserialize_class_box
See also
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBoxcreate_class_box
,
deserialize_class_boxdeserialize_class_boxDeserializeClassBoxDeserializeClassBoxDeserializeClassBoxdeserialize_class_box
Module
Foundation