Skip to content

skrub/minhash-murmur-with-minmax

Pack Severity Fix Versions
skrub error none, edit by hand All versions

MinHashEncoder raises ValueError("minmax_hash encoding is not supported with the murmur hashing function") during fit when hashing="murmur" is combined with minmax_hash=True.

enc = MinHashEncoder(n_components=30, hashing="murmur", minmax_hash=True)
enc = MinHashEncoder(n_components=30, hashing="fast", minmax_hash=True)

Calls to MinHashEncoder that set both hashing="murmur" and minmax_hash=True.

Switch hashing to "fast" (the default) when enabling minmax_hash=True, or disable minmax_hash.

MinHashEncoder does not support minmax_hash=True with hashing='murmur' and raises ValueError at fit time. Use hashing='fast' or set minmax_hash=False.

See all rules in the skrub pack.