alis.similarity.minhash_lsh.LSH.make_bands
alis.similarity.minhash_lsh.LSH.make_bands#
- LSH.make_bands(bands)[source]#
Takes in the desired number of bands as a parameter and returns a dictionary with band labels as keys and dask.bag of (set/document index, signature band) tuples
- Parameters
- bandsint
desired number of bands
- Returns
- band_dictdict
dictionary with band labels as keys and (set/doc index, signature band) tuples as values