sklearn.utils.murmurhash3_32?

sklearn.utils.murmurhash3_32()

計算種子密鑰的32位murmurhash3。

基本的實現是MurmurHash3_x86_32生成低延遲的32位哈希,適用于實現查找表,Bloom過濾器,最小草圖計數或功能哈希。

參數 說明
key int32, bytes, unicode or ndarray with dtype int32
要哈希的物理對象
seed int, optional default is 0
用于哈希算法的整數種子。
positive boolean, optional default is False True: the results is casted to an unsigned int
從0到2 ** 32-1
False the results is casted to a signed int
從-(2 ** 31)到2 ** 31-1