kgraph
kgraph copied to clipboard
A library for k-nearest neighbor search
I am currently trying to run the setup.py file, but when I run the python setup.py install command, I get this error: CalledProcessError: Command 'git describe --always' returned non-zero exit...
I'm using the Python API of the library. I correctly generated the kNN using the instruction `index.search(query, k=100)`, but I also want the edge weights of the kNN graph. How...
In my opinion, the line `nhoods[n].found = uu > 0;` should be deleted, but put a line in parallel_try_insert() `if(l
rnn_new is a list of objects whose distance to nhood_o is larger than nhood_o.radiusM. Each of rnn_new is an object taking nhood_o as a member of pool. rnn_old has the...
I am reading the source code. But I have a question about the local join in KGraphConstruction class. I don't understand the update progress of the radius of Nhood. In...
From the wiki, I know the function prune2() is to improve online search speed. But when I read the code, I do not know what happened, and how does the...
My input dataset has converted as numpy matrices by np.asmatrix() and it's dim is 1024; I use the python API