Skip to main content

alg_minhash_256

Function alg_minhash_256 

Source
pub fn alg_minhash_256(features: &[u32]) -> Vec<u8> 
Expand description

Compute a 256-bit MinHash digest from 32-bit integer features.

Calls minhash to get 64-dimensional hash vector, then compresses with lsb=4 to produce 32 bytes (64 × 4 bits = 256 bits).