ClassesClasses | | Operators

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

serialize_class_box( : : ClassifHandle : SerializedItemHandle)

Herror T_serialize_class_box(const Htuple ClassifHandle, Htuple* SerializedItemHandle)

void SerializeClassBox(const HTuple& ClassifHandle, HTuple* SerializedItemHandle)

HSerializedItem HClassBox::SerializeClassBox() const

static void HOperatorSet.SerializeClassBox(HTuple classifHandle, out HTuple serializedItemHandle)

HSerializedItem HClassBox.SerializeClassBox()

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

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


ClassesClasses | | Operators