ClassesClasses | | Operators

serialize_class_svmserialize_class_svmSerializeClassSvmSerializeClassSvm (Operator)

Name

serialize_class_svmserialize_class_svmSerializeClassSvmSerializeClassSvm — Serialize a support vector machine (SVM).

Signature

serialize_class_svm( : : SVMHandle : SerializedItemHandle)

Herror serialize_class_svm(const Hlong SVMHandle, Hlong* SerializedItemHandle)

Herror T_serialize_class_svm(const Htuple SVMHandle, Htuple* SerializedItemHandle)

void SerializeClassSvm(const HTuple& SVMHandle, HTuple* SerializedItemHandle)

HSerializedItem HClassSvm::SerializeClassSvm() const

static void HOperatorSet.SerializeClassSvm(HTuple SVMHandle, out HTuple serializedItemHandle)

HSerializedItem HClassSvm.SerializeClassSvm()

Description

serialize_class_svmserialize_class_svmSerializeClassSvmSerializeClassSvmSerializeClassSvm serializes a support vector machine (SVM) 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_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvm and write_samples_class_svmwrite_samples_class_svmWriteSamplesClassSvmWriteSamplesClassSvmWriteSamplesClassSvm is converted to a serialized item. The support vector machine is defined by the handle SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle. The serialized support vector machine is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_class_svmdeserialize_class_svmDeserializeClassSvmDeserializeClassSvmDeserializeClassSvm.

Execution Information

Parameters

SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle (input_control)  class_svm HClassSvm, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

SVM handle.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_class_svmserialize_class_svmSerializeClassSvmSerializeClassSvmSerializeClassSvm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_class_svmtrain_class_svmTrainClassSvmTrainClassSvmTrainClassSvm

Possible Successors

clear_class_svmclear_class_svmClearClassSvmClearClassSvmClearClassSvm, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_class_svmdeserialize_class_svmDeserializeClassSvmDeserializeClassSvmDeserializeClassSvm

See also

create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmCreateClassSvm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvm, write_samples_class_svmwrite_samples_class_svmWriteSamplesClassSvmWriteSamplesClassSvmWriteSamplesClassSvm, deserialize_class_svmdeserialize_class_svmDeserializeClassSvmDeserializeClassSvmDeserializeClassSvm

Module

Foundation


ClassesClasses | | Operators