huangqiang / qalsh Goto Github PK
View Code? Open in Web Editor NEWQuery-Aware LSH for Approximate NNS (PVLDB 2015 and VLDBJ 2017)
License: GNU General Public License v3.0
Query-Aware LSH for Approximate NNS (PVLDB 2015 and VLDBJ 2017)
License: GNU General Public License v3.0
Dear author:
This is a very great job and I try to apply your algorithm on my own dataset. My dataset consists of 3605 objects and the dimension is 100. Due to the characteristic of the task, both the dataset and the query set are the same for the top 10 nearest neighbor searches.
However, while the QALSH could run successfully, the QALSH_PLUS appears an error :
qalsh: qalsh_plus.cc:561: int QALSH_PLUS::get_block_order(int, MinK_List*, std::vector<int>&): Assertion `nb <= num_blocks_' failed.
Aborted (core dumped)
According to your article, each leaf of the KD-Tree is regarded as a block and I check the parameter num_blocks_
and find out the value is 1 but the iteration of nb is greater than 1.
Thus my question is if there is any solution to adjust the programme so that the data could be split to generate more num_blocks_
to make the script runs successfully? I have adjusted the input parameters such as leaf
, B
, 'c' or 'p' but none of them seems to be useful.
I would be so appreciated if you could reply. Thanks a lot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.