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


JSON-LD (schema.org) Export

{
  "description": "<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>", 
  "license": "", 
  "creator": [
    {
      "affiliation": "University of Toronto", 
      "@type": "Person", 
      "name": "Eric Zhu"
    }, 
    {
      "affiliation": "@src-d", 
      "@type": "Person", 
      "name": "Vadim Markovtsev"
    }, 
    {
      "affiliation": "", 
      "@type": "Person", 
      "name": "aastafiev"
    }, 
    {
      "affiliation": "", 
      "@type": "Person", 
      "name": "ae-foster"
    }, 
    {
      "affiliation": "", 
      "@type": "Person", 
      "name": "fpug"
    }, 
    {
      "affiliation": "Free University of Berlin", 
      "@type": "Person", 
      "name": "Wojciech \u0141ukasiewicz"
    }, 
    {
      "affiliation": "", 
      "@type": "Person", 
      "name": "Titusz"
    }, 
    {
      "affiliation": "Adobe", 
      "@type": "Person", 
      "name": "Spandan Thakur"
    }, 
    {
      "affiliation": "Six Five Design", 
      "@type": "Person", 
      "name": "Kevin Mann"
    }
  ], 
  "url": "https://zenodo.org/record/2532820", 
  "codeRepository": "https://github.com/ekzhu/datasketch/tree/v1.4.0", 
  "datePublished": "2019-01-06", 
  "version": "v1.4.0", 
  "@context": "https://schema.org/", 
  "identifier": "https://doi.org/10.5281/zenodo.2532820", 
  "@id": "https://doi.org/10.5281/zenodo.2532820", 
  "@type": "SoftwareSourceCode", 
  "name": "ekzhu/datasketch: hashfunc to replace hashobj"
}
1,453
228
views
downloads
All versions This version
Views 1,45372
Downloads 22814
Data volume 276.3 MB35.6 MB
Unique views 1,26158
Unique downloads 1118

Share

Cite as