#include <boost/program_options.hpp>
#include <boost/progress.hpp>
#include <boost/format.hpp>
#include <boost/timer.hpp>
#include <lshkit.h>
Functions | |
int | main (int argc, char *argv[]) |
This program is an example of using MPLSH index.
The program reconstruct the LSH index by default. You can give the --index option to make the program save the LSH index. The next time you run the program with the same --index option, the program will try to load the previously saved index. When a saved index is used, you need to make sure that the dataset and other parameters match the previous run. However, the benchmark file, Q and K can be different.
Allowed options: -h [ --help ] produce help message. -W [ -- ] arg (=1) -M [ -- ] arg (=1) -T [ -- ] arg (=1) # probes -L [ -- ] arg (=1) # hash tables -Q [ -- ] arg (=100) # queries -K [ -- ] arg (=50) # nearest neighbor to retrieve -R [ -- ] arg (=3.40282347e+38) R-NN distance range --recall arg desired recall -D [ --data ] arg data file -B [ --benchmark ] arg benchmark file --index arg index file -H [ -- ] arg (=1017881) hash table size, use the default value.