kumulant

MinHash

@Serializable
@SerialName(value = "MinHash")
data class MinHash(val numHashes: Int = 128, val seed: Long = -3724518991637283867L, val hasher: HasherRef = HasherRef.SplitMix64) : DiscreteStatSpec<MinHashResult> (source)

Spec for MinHashStat: Jaccard-similarity signature over numHashes independent hash functions.

Constructors

MinHash

constructor(numHashes: Int = 128, seed: Long = -3724518991637283867L, hasher: HasherRef = HasherRef.SplitMix64)(source)

Properties

hasher

HasherRef for the mixer applied per signature slot; resolved via the Hashers registry.

numHashes

Signature length; higher means better Jaccard accuracy at more memory.

seed

PRNG seed used to derive the per-hash salts.