There is a newer version of this record available.

Software Open Access

ekzhu/datasketch: hashfunc to replace hashobj

Eric Zhu; Vadim Markovtsev; aastafiev; ae-foster; fpug; Wojciech Łukasiewicz; Titusz; Spandan Thakur; Kevin Mann


Citation Style Language JSON Export

{
  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.2532820", 
  "title": "ekzhu/datasketch: hashfunc to replace hashobj", 
  "issued": {
    "date-parts": [
      [
        2019, 
        1, 
        6
      ]
    ]
  }, 
  "abstract": "<p>Now support <code>hashfunc</code> parameter for MinHash and HyperLogLog. The old parameter <code>hashobj</code> is removed.</p>\n<pre><code class=\"lang-python\"># Let&#39;s use MurmurHash3.\nimport mmh3\n\n# We need to define a new hash function that outputs an integer that\n# can be encoded in 32 bits.\ndef _hash_func(d):\n    return mmh3.hash32(d)\n\n# Use this function in MinHash constructor.\nm = MinHash(hashfunc=_hash_func)\n</code></pre>", 
  "author": [
    {
      "family": "Eric Zhu"
    }, 
    {
      "family": "Vadim Markovtsev"
    }, 
    {
      "family": "aastafiev"
    }, 
    {
      "family": "ae-foster"
    }, 
    {
      "family": "fpug"
    }, 
    {
      "family": "Wojciech \u0141ukasiewicz"
    }, 
    {
      "family": "Titusz"
    }, 
    {
      "family": "Spandan Thakur"
    }, 
    {
      "family": "Kevin Mann"
    }
  ], 
  "version": "v1.4.0", 
  "type": "article", 
  "id": "2532820"
}
1,417
226
views
downloads
All versions This version
Views 1,41772
Downloads 22614
Data volume 273.1 MB35.6 MB
Unique views 1,22758
Unique downloads 1108

Share

Cite as