deserialize_class_knnT_deserialize_class_knnDeserializeClassKnnDeserializeClassKnn (Operator)
Name
deserialize_class_knnT_deserialize_class_knnDeserializeClassKnnDeserializeClassKnn
— Deserialize a serialized k-NN classifier.
Signature
Description
deserialize_class_knndeserialize_class_knnDeserializeClassKnnDeserializeClassKnnDeserializeClassKnn
deserializes a k-NN classifier (k-NN)
(including its training samples), that was serialized
by serialize_class_knnserialize_class_knnSerializeClassKnnSerializeClassKnnSerializeClassKnn
(see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
for an
introduction of the basic principle of serialization). The
serialized k-NN classifier is defined by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
. The deserialized values are stored in an
automatically created k-NN classifier with the handle
KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle
.
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
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
(input_control) serialized_item →
HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle
(output_control) class_knn →
HClassKnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the k-NN classifier.
Result
If the parameters are valid, the operator
deserialize_class_knndeserialize_class_knnDeserializeClassKnnDeserializeClassKnnDeserializeClassKnn
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItem
,
receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem
,
serialize_class_knnserialize_class_knnSerializeClassKnnSerializeClassKnnSerializeClassKnn
Possible Successors
classify_class_knnclassify_class_knnClassifyClassKnnClassifyClassKnnClassifyClassKnn
Alternatives
serialize_class_knnserialize_class_knnSerializeClassKnnSerializeClassKnnSerializeClassKnn
See also
create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnn
References
Marius Muja, David G. Lowe: “Fast Approximate Nearest Neighbors with
Automatic Algorithm Configuration”;
International Conference on Computer Vision Theory
and Applications (VISAPP 09); 2009.
Module
Foundation