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


DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
  <identifier identifierType="DOI">10.5281/zenodo.2532820</identifier>
  <creators>
    <creator>
      <creatorName>Eric Zhu</creatorName>
      <affiliation>University of Toronto</affiliation>
    </creator>
    <creator>
      <creatorName>Vadim Markovtsev</creatorName>
      <affiliation>@src-d</affiliation>
    </creator>
    <creator>
      <creatorName>aastafiev</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>ae-foster</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>fpug</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Wojciech Łukasiewicz</creatorName>
      <affiliation>Free University of Berlin</affiliation>
    </creator>
    <creator>
      <creatorName>Titusz</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Spandan Thakur</creatorName>
      <affiliation>Adobe</affiliation>
    </creator>
    <creator>
      <creatorName>Kevin Mann</creatorName>
      <affiliation>Six Five Design</affiliation>
    </creator>
  </creators>
  <titles>
    <title>ekzhu/datasketch: hashfunc to replace hashobj</title>
  </titles>
  <publisher>Zenodo</publisher>
  <publicationYear>2019</publicationYear>
  <dates>
    <date dateType="Issued">2019-01-06</date>
  </dates>
  <resourceType resourceTypeGeneral="Software"/>
  <alternateIdentifiers>
    <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/2532820</alternateIdentifier>
  </alternateIdentifiers>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementTo">https://github.com/ekzhu/datasketch/tree/v1.4.0</relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.598238</relatedIdentifier>
  </relatedIdentifiers>
  <version>v1.4.0</version>
  <rightsList>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
  </rightsList>
  <descriptions>
    <description descriptionType="Abstract">&lt;p&gt;Now support &lt;code&gt;hashfunc&lt;/code&gt; parameter for MinHash and HyperLogLog. The old parameter &lt;code&gt;hashobj&lt;/code&gt; is removed.&lt;/p&gt;
&lt;pre&gt;&lt;code class="lang-python"&gt;# Let&amp;#39;s use MurmurHash3.
import mmh3

# We need to define a new hash function that outputs an integer that
# can be encoded in 32 bits.
def _hash_func(d):
    return mmh3.hash32(d)

# Use this function in MinHash constructor.
m = MinHash(hashfunc=_hash_func)
&lt;/code&gt;&lt;/pre&gt;</description>
  </descriptions>
</resource>
1,491
229
views
downloads
All versions This version
Views 1,49172
Downloads 22914
Data volume 277.1 MB35.6 MB
Unique views 1,29158
Unique downloads 1128

Share

Cite as