Reference Entry
populateLSHBuckets
API Reference · foundation · order 146
Populates LSH buckets for a single vector per id.
Relevant APIs
populateLSHBuckets
Populates LSH buckets for a single vector per id.
Declaration
function populateLSHBuckets(vectors: Record<string, Vector>, randomVectors: Vector[]): Map<number, [string, Vector][]>