Coder Social home page Coder Social logo

huangqiang / qalsh Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 8.0 10.19 MB

Query-Aware LSH for Approximate NNS (PVLDB 2015 and VLDBJ 2017)

License: GNU General Public License v3.0

Makefile 0.01% C++ 99.54% Shell 0.45%
nnsearch lsh qalsh kd-tree dataset distance b-plus-tree btree locality-sensitive-hashing

qalsh's People

Contributors

huangqiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qalsh's Issues

QALSH_PLUS error: `nb <= num_blocks_' failed

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.