serialize_class_train_dataT_serialize_class_train_dataSerializeClassTrainDataSerializeClassTrainData (Operator)
Name
serialize_class_train_dataT_serialize_class_train_dataSerializeClassTrainDataSerializeClassTrainData
— Serialize training data for classifiers.
Signature
Description
serialize_class_train_dataserialize_class_train_dataSerializeClassTrainDataSerializeClassTrainDataSerializeClassTrainData
serializes training data for classifiers
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_train_datawrite_class_train_dataWriteClassTrainDataWriteClassTrainDataWriteClassTrainData
is converted to a
serialized item. The training data is defined by the handle
ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle
. The serialized training data is returned by
the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
and can be deserialized by
deserialize_class_train_datadeserialize_class_train_dataDeserializeClassTrainDataDeserializeClassTrainDataDeserializeClassTrainData
.
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
ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle
(input_control) class_train_data →
HClassTrainData, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the training data.
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_train_dataserialize_class_train_dataSerializeClassTrainDataSerializeClassTrainDataSerializeClassTrainData
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Successors
deserialize_class_train_datadeserialize_class_train_dataDeserializeClassTrainDataDeserializeClassTrainDataDeserializeClassTrainData
See also
create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainData
,
read_class_train_dataread_class_train_dataReadClassTrainDataReadClassTrainDataReadClassTrainData
Module
Foundation