SHOGUN  6.1.3
KNNHeap.h File Reference

Go to the source code of this file.


class  CKNNHeap
 This class implements a specialized version of max heap structure. This heap specializes in storing the least k values seen so far along with the indices (or id) of the entities with which the values are associated. On calling the push method, it is automatically checked, if the new value supplied, is among the least k distances seen so far. Also, in case the heap is full already, the max among the stored values is automatically thrown out as the new value finds its proper place in the heap. More...

SHOGUN Machine Learning Toolbox - Documentation