huangqiang / rqalsh_mem Goto Github PK
View Code? Open in Web Editor NEWMemory Version of RQALSH for Furthest Neighbor Search (TKDE 2017)
License: GNU General Public License v3.0
Memory Version of RQALSH for Furthest Neighbor Search (TKDE 2017)
License: GNU General Public License v3.0
Hi Dr. Huang, I have run RQALSH
and RQALSH_Mem
with the SIFT1M dataset separately on the same machine.
I have two questions about the results.
avg_ratio@10
looks like a wrong number under both two methods.(base) ➜ jfwang@HP ~/proj/help_fns/RQALSH/methods git:(master) ✗ ./rqalsh -alg 4 -qn 10000 -d 128 -qs /home/jfwang/data/sift1m/sift1m_query.rawfbin -ts /home/jfwang/data/sift1m/fns/sift1m_gt_genby_rqlsh.rawfbin -df /home/jfwang/data/sift1m/fns/ -of /home/jfwang/data/sift1m/fns/
alg = 4
qn = 10000
d = 128
query_set = /home/jfwang/data/sift1m/sift1m_query.rawfbin
truth_set = /home/jfwang/data/sift1m/fns/sift1m_gt_genby_rqlsh.rawfbin
data_folder = /home/jfwang/data/sift1m/fns/
output_folder = /home/jfwang/data/sift1m/fns/
Read Data: 0.002825 Seconds
Read Ground Truth: 0.034793 Seconds
Parameters of RQALSH:
n = 1000000
d = 128
B = 4096
beta = 0.000100
delta = 0.490000
ratio = 2.0
w = 1.359556
m = 77
l = 33
path = /home/jfwang/data/sift1m/fns/indices/
Top-k FN Search by RQALSH:
Top-k Ratio I/O Time (ms) Recall
1 1.0490 15397 87.09 3.67%
2 1.0473 15616 88.14 4.65%
5 1.0470 15882 89.77 4.90%
10 -5192312821191349820094119149568.0000 16070 90.90 4.89%
(base) ➜ jfwang@HP ~/proj/help_fns/RQALSH_Mem git:(master) ✗ ./rqalsh -alg 4 -n 1000000 -qn 10000 -d 128 -c 2.0 -ds /home/jfwang/data/sift1m/sift1m_base.rawfbin -qs /home/jfwang/data/sift1m/sift1m_query.rawfbin -ts /home/jfwang/data/sift1m/fns/sift1m_gt_genby_rqlsh.rawfbin -op /home/jfwang/data/sift1m/fns/sift1m_searched_res
alg = 4
n = 1000000
qn = 10000
d = 128
c = 2.0
data_set = /home/jfwang/data/sift1m/sift1m_base.rawfbin
query_set = /home/jfwang/data/sift1m/sift1m_query.rawfbin
truth_set = /home/jfwang/data/sift1m/fns/sift1m_gt_genby_rqlsh.rawfbin
out_path = /home/jfwang/data/sift1m/fns/sift1m_searched_res
Read Data: 0.235536 Seconds
Read Query: 0.002316 Seconds
Read Truth: 0.029369 Seconds
Parameters of RQALSH:
n = 1000000
d = 128
ratio = 2.0
w = 1.359556
m = 77
l = 33
Indexing Time = 12.757415 Seconds
Memory = 587.501038 MB
Top-k FN Search of RQALSH:
Top-k Ratio Time (ms) Recall (%) Fraction (%)
1 1.0355 74.6545 5.21% 0.01%
2 1.0368 74.6928 6.28% 0.01%
5 1.0399 74.7599 6.17% 0.01%
10 -5182759284901845213041003593728.0000 74.9524 5.90% 0.01%
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.