哈希学习代码

哈希方法

公布代码的:

  1. AGH: Hashing with Graphs [Paper] [Code]
  2. BPBC: Learning Binary Codes for High-Dimensional Data Using Bilinear Projections [Paper] [Code]
  3. BRE: Learning to Hash with Binary Reconstructive Embeddings [Paper] [Code]
  4. DBQ: Double-bit quantization for hashing [Paper] [Code]
  5. E2LSH: Local Sensitive Hash [Project Page] read
  6. HDML: Hamming Distance Metric Learning [Paper] [Code]
  7. IMH: Inter-Media Hashing for Large-scale Retrieval from Heterogenous Data Sources [Project Page] [Code]
  8. ISOH: Isotropic Hashing [Paper] [Code]
  9. ITQ: Iterative Quantization: A Procrustean Approach to Learning Binary Codes [Project Page] [Paper] [Code]read
  10. KLSH: Kernelized Locality-Sensitive Hashing for Scalable Image Search [Project Page] [Paper] [Code]
  11. KMH: K-means Hashing: an Affinity-Preserving Quantization Method for Learning Binary Compact Codes[Paper] [Code] read
  12. KSH: Supervised Hashing with Kernels [Paper] [Code] read
  13. MDSH: Multidimensional Spectral Hashing [Paper] [Code]
  14. MH: Manhattan hashing for large-scale image retrieval [Paper] [Code] read
  15. MinH: Minimal Loss Hashing for Compact Binary Codes [Paper] [Code] [Slide]
  16. OPQ: Optimized Product Quantization for Approximate Nearest Neighbor Search [Paper] [Code]
  17. SH: Spectral Hashing [Paper] [Code] read
  18. IHM: Inductive Hashing on Manifolds (2013 CVPR) ProjectPage read
  19. BSPH: Semi-supervised Nonlinear Hashing Using Bootstrap Sequential Projection Learning (2012 TKDE)ProjectPage read
  20. FastHash: Fast Supervised Hashing with Decision Trees for High-Dimensional Data (2014 CVPR) [Code] read

无代码:

  1. PDHPredictable Dual-View Hashing (ICML2013) read

常用数据库

  1. LabelMe
  2. min-loss-hashing

关注的人

注:下面不同的哈希方法的代码可以在他们的主页上找到


他人讲解papers的一些好博文


非哈希方法

  • liangzheng
    • Packing and Padding: Coupled Multi-Index for Accurate Image Retrieval
    • Bayes Merging of Multiple Vocabularies for Scalable Image Retrieval
    • Lp-norm IDF for Large Scale Image Search
    • Visual Phraselet: Refining Spatial Constraints for Large Scale Image Search

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一个简单的示例,演示如何使用 Java 中的哈希表(HashMap): ```java import java.util.HashMap; public class HashTableExample { public static void main(String[] args) { // 创建一个哈希表对象 HashMap<String, Integer> hashMap = new HashMap<>(); // 添加键值对到哈希hashMap.put("apple", 1); hashMap.put("banana", 2); hashMap.put("orange", 3); // 获取键对应的值 int value = hashMap.get("banana"); System.out.println("The value of 'banana' is: " + value); // 检查哈希表中是否包含某个键 boolean containsKey = hashMap.containsKey("apple"); System.out.println("'apple' exists in the hash table: " + containsKey); // 检查哈希表中是否包含某个值 boolean containsValue = hashMap.containsValue(3); System.out.println("Value '3' exists in the hash table: " + containsValue); // 移除某个键值对 hashMap.remove("orange"); // 遍历哈希表并打印所有键值对 for (String key : hashMap.keySet()) { int val = hashMap.get(key); System.out.println(key + " -> " + val); } } } ``` 上述代码创建了一个名为 `hashMap` 的哈希表对象,使用 `put()` 方法向哈希表中添加键值对。然后,通过 `get()` 方法获取键对应的值,通过 `containsKey()` 方法检查哈希表中是否包含某个键,通过 `containsValue()` 方法检查哈希表中是否包含某个值,通过 `remove()` 方法移除某个键值对。最后,通过 `keySet()` 方法获取哈希表中所有的键,并遍历打印出所有的键值对。 请注意,这只是一个简单的示例,Java 的哈希表还有更多功能和用法,可以根据具体需求进行进一步学习和使用。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值