serialize_class_train_dataT_serialize_class_train_dataSerializeClassTrainDataSerializeClassTrainDataserialize_class_train_data (Operator)

Name

serialize_class_train_dataT_serialize_class_train_dataSerializeClassTrainDataSerializeClassTrainDataserialize_class_train_data — Serialize training data for classifiers.

Signature

serialize_class_train_data( : : ClassTrainDataHandle : SerializedItemHandle)

Herror T_serialize_class_train_data(const Htuple ClassTrainDataHandle, Htuple* SerializedItemHandle)

void SerializeClassTrainData(const HTuple& ClassTrainDataHandle, HTuple* SerializedItemHandle)

HSerializedItem HClassTrainData::SerializeClassTrainData() const

static void HOperatorSet.SerializeClassTrainData(HTuple classTrainDataHandle, out HTuple serializedItemHandle)

HSerializedItem HClassTrainData.SerializeClassTrainData()

def serialize_class_train_data(class_train_data_handle: HHandle) -> HHandle

Description

serialize_class_train_dataserialize_class_train_dataSerializeClassTrainDataSerializeClassTrainDataSerializeClassTrainDataserialize_class_train_data serializes training data for classifiers and its stored training samples (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_train_datawrite_class_train_dataWriteClassTrainDataWriteClassTrainDataWriteClassTrainDatawrite_class_train_data is converted to a serialized item. The training data is defined by the handle ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle. The serialized training data is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_class_train_datadeserialize_class_train_dataDeserializeClassTrainDataDeserializeClassTrainDataDeserializeClassTrainDatadeserialize_class_train_data.

Execution Information

Parameters

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle (input_control)  class_train_data HClassTrainData, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training data.

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_train_dataserialize_class_train_dataSerializeClassTrainDataSerializeClassTrainDataSerializeClassTrainDataserialize_class_train_data returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Successors

deserialize_class_train_datadeserialize_class_train_dataDeserializeClassTrainDataDeserializeClassTrainDataDeserializeClassTrainDatadeserialize_class_train_data

See also

create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data, read_class_train_dataread_class_train_dataReadClassTrainDataReadClassTrainDataReadClassTrainDataread_class_train_data

Module

Foundation