Giter VIP home page Giter VIP logo

aws_alsh's Introduction

Sublinear Time Nearest Neighbor Search over Generalized Weighted Space

Paper accepted by ICML 2019 Sublinear Time Nearest Neighbor Search over Generalized Weighted Space. ICML 2019: 3773-3781, Yifan Lei, Qiang Huang, Mohan S. Kankanhalli, Anthony K. H. Tung

To build the project, use the following instructions:

mkdir build
cd build
cmake ..
make -j

Then run

./alsh --help

for help information.

A possible example to run could be:

./alsh -A fraction_recall_s2alsh -n 60000 -q 1000 -d 784 -D ../data/Mnist784/Mnist784.ds -Q ../data/Mnist784/Mnist784.q -W ../data/Mnist784/Mnist784_normal.w -G ../data/Mnist784/Mnist784_normal.gt -O output.out -U 3.140000 --data_hash_filename data_hash.dh --query_hash_filename query_hash.qh

The python scripts on scripts folder can be used to run the automatically run the precision_recall and fraction_recall experiments, e.g.

python ../scripts/run_ground_truth.py
python ../scripts/run_precision_recall.py
python ../scripts/run_fraction_recall.py

In order to run the scripts, the datasets/query should be put in the ./data folder, or the "./scripts/dataset_config.py" should be modified accordingly. Datasets link via onedrive

For more information, please contact [email protected]

aws_alsh's People

Contributors

1flei avatar

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.