Skip to main content

Module lsh

Module lsh 

Source
Expand description

Locality Sensitive Hashing (LSH) for approximate nearest neighbor search

This module implements various LSH families including:

  • Random projection LSH for cosine similarity
  • MinHash for Jaccard similarity
  • SimHash for binary vectors
  • Multi-probe LSH for improved recall

Structs§

LshConfig
Configuration for LSH index
LshIndex
LSH index implementation
LshStats
LSH index statistics

Enums§

LshFamily
LSH family types