deserialize_class_knn — Deserialize a serialized k-NN classifier.
deserialize_class_knn deserializes a k-NN classifier (k-NN) (including its training samples), that was serialized by serialize_class_knn (see fwrite_serialized_item for an introduction of the basic principle of serialization). The serialized k-NN classifier is defined by the handle SerializedItemHandle. The deserialized values are stored in an automatically created k-NN classifier with the handle KNNHandle.
Handle of the serialized item.
Handle of the k-NN classifier.
If the parameters are valid, the operator deserialize_class_knn returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
fread_serialized_item, receive_serialized_item, serialize_class_knn
Marius Muja, David G. Lowe: “Fast Approximate Nearest Neighbors with Automatic Algorithm Configuration”; International Conference on Computer Vision Theory and Applications (VISAPP 09); 2009.