matlab寻峰代码-ANN:flann中本地敏感哈希和kdtree方法的基准测试

上传者: 38558870 | 上传时间: 2025-12-16 10:39:42 | 文件大小: 6.89MB | 文件类型: ZIP
matlab寻峰代码flann_lsh flann 中 p 稳定局部敏感哈希和 kdtree 方法的基准测试。 实现了一个matlab接口。 用法 pyflann-kdtree和p-stable LSH的实验 安装Pyflann、Seaborn,并从github下载源代码。 pip install pyflann pip install seaborn pip install memory_profiler git clone https://github.com/memoiry/flann_lsh cd flann_lsh/src 将 sift 和 gist 数据放在对应的数据文件夹中,然后运行下面的命令。 可能需要几个小时才能完成。 结果将放在实际包含我的预计算结果的结果文件夹中。 python run_exp_v2.py 要生成图形,请运行以下命令。 分析将放在图形文件夹中。 python analysis.py PLSH类用法 PLSH 是用于创建本地敏感哈希对象的类。 PLSH(key_size, table_num, w) 构建 lsh 对象时,只需使用训练数据集构建索引。

文件下载

资源详情

[{"title":"( 61 个子文件 6.89MB ) matlab寻峰代码-ANN:flann中本地敏感哈希和kdtree方法的基准测试","children":[{"title":"ANN-master","children":[{"title":"matlab_interface","children":[{"title":"python.m <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"python_nn_search.py <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"bvecs_read.m <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"ivecs_read.m <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"lsh_search.m <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"fvecs_read.m <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"tester.py <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false},{"title":"recall.m <span style='color:#111;'> 351B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"run_exp_v2.py <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"analysis.py <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"test_func.py <span style='color:#111;'> 14.29KB </span>","children":null,"spread":false},{"title":"figure","children":[{"title":"SIFT_benchmark_memory.png <span style='color:#111;'> 26.56KB </span>","children":null,"spread":false},{"title":"GIST_benchmark_memory.png <span style='color:#111;'> 19.73KB </span>","children":null,"spread":false},{"title":"GIST_benchmark.png <span style='color:#111;'> 31.41KB </span>","children":null,"spread":false},{"title":"backup","children":[{"title":"SIFT1M_k_search_time_lsh.png <span style='color:#111;'> 20.68KB </span>","children":null,"spread":false},{"title":"GIST1M_flann_search_time.png <span style='color:#111;'> 14.03KB </span>","children":null,"spread":false},{"title":"SIFT1M_L_recall_lsh.png <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"SIFT1M_L_build_time_lsh.png <span style='color:#111;'> 21.27KB </span>","children":null,"spread":false},{"title":"SIFT1M_flann_recall.png <span style='color:#111;'> 11.77KB </span>","children":null,"spread":false},{"title":"GIST1M_k_proportion_lsh.png <span style='color:#111;'> 22.18KB </span>","children":null,"spread":false},{"title":"GIST1M_k_build_time_lsh.png <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"SIFT1M_k_touched_lsh.png <span style='color:#111;'> 15.47KB </span>","children":null,"spread":false},{"title":"GIST1M_flann_build_time.png <span style='color:#111;'> 15.22KB </span>","children":null,"spread":false},{"title":"GIST1M_k_recall_lsh.png <span style='color:#111;'> 16.82KB </span>","children":null,"spread":false},{"title":"GIST1M_k_touched_lsh.png <span style='color:#111;'> 18.61KB </span>","children":null,"spread":false},{"title":"SIFT1M_k_build_time_lsh.png <span style='color:#111;'> 21.37KB </span>","children":null,"spread":false},{"title":"SIFT1M_k_proportion_lsh.png <span style='color:#111;'> 19.27KB </span>","children":null,"spread":false},{"title":"SIFT1M_L_touched_lsh.png <span style='color:#111;'> 17.63KB </span>","children":null,"spread":false},{"title":"GIST1M_L_recall_lsh.png <span style='color:#111;'> 19.16KB </span>","children":null,"spread":false},{"title":"SIFT1M_L_search_time_lsh.png <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"GIST1M_k_search_time_lsh.png <span style='color:#111;'> 16.82KB </span>","children":null,"spread":false},{"title":"SIFT1M_k_recall_lsh.png <span style='color:#111;'> 20.68KB </span>","children":null,"spread":false},{"title":"GIST1M_L_touched_lsh.png <span style='color:#111;'> 19.28KB </span>","children":null,"spread":false},{"title":"GIST1M_flann_recall.png <span style='color:#111;'> 14.03KB </span>","children":null,"spread":false},{"title":"SIFT1M_flann_build_time.png <span style='color:#111;'> 14.02KB </span>","children":null,"spread":false},{"title":"SIFT1M_flann_search_time.png <span style='color:#111;'> 11.77KB </span>","children":null,"spread":false},{"title":"GIST1M_L_search_time_lsh.png <span style='color:#111;'> 19.16KB </span>","children":null,"spread":false},{"title":"GIST1M_L_build_time_lsh.png <span style='color:#111;'> 20.94KB </span>","children":null,"spread":false}],"spread":false},{"title":"SIFT_benchmark.png <span style='color:#111;'> 33.79KB </span>","children":null,"spread":false},{"title":"EXP","children":[{"title":"GIST1M_L.png <span style='color:#111;'> 2.13MB </span>","children":null,"spread":false},{"title":"SIFT_kdtree.png <span style='color:#111;'> 17.69KB </span>","children":null,"spread":false},{"title":"SIFT1M_flann.png <span style='color:#111;'> 31.54KB </span>","children":null,"spread":false},{"title":"SIFT1M_k.png <span style='color:#111;'> 2.22MB </span>","children":null,"spread":false},{"title":"GIST_kdtree_search_time.png <span style='color:#111;'> 27.88KB </span>","children":null,"spread":false},{"title":"GIST_kdtree_recall.png <span style='color:#111;'> 35.74KB </span>","children":null,"spread":false},{"title":"GIST_kdtree_build_time.png <span style='color:#111;'> 27.18KB </span>","children":null,"spread":false},{"title":"GIST1M_k.png <span style='color:#111;'> 2.14MB </span>","children":null,"spread":false},{"title":"GIST1M_flann.png <span style='color:#111;'> 35.99KB </span>","children":null,"spread":false},{"title":"SIFT1M_L.png <span style='color:#111;'> 2.10MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"run_exp.py <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"result","children":[{"title":"GIST1M_LSH.csv <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"SIFT1M_FLANN.csv <span style='color:#111;'> 12.16KB </span>","children":null,"spread":false},{"title":"GIST1M_FLANN.csv <span style='color:#111;'> 9.45KB </span>","children":null,"spread":false},{"title":"SIFT1M_LSH.csv <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"tester.py <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 7.90KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"gist","children":[{"title":"gist_data_put_here.md <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"sift","children":[{"title":"sift_data_put_here.md <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 106B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明