Registry / utility / dgryski-go-minhash

dgryski-go-minhash

JSON →
library0.0.0-20190315135803-ad340ca03076gogounverified

An implementation of the bottom-k sketch for streaming set similarity using MinHash.

go get github.com/dgryski/go-minhash
INSTALL
IMPORT
SIG · DGRYSKI-GO-MINHASH
D
dgryski-go-minhash
utilitygov0.0.0-20190315135803-ad340ca03076
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

minhash
github.com/dgryski/go-minhash

Create a MinHash sketch and add elements.

package main import ( "fmt" "github.com/dgryski/go-minhash" ) func main() { h := minhash.New(minhash.OptimalK(100)) h.Push([]byte("element1")) h.Push([]byte("element2")) fmt.Println(h.Signature()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190315135803-ad340ca03076latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
dgryski-go-minhash — go get dgryski-go-minhash · libregistry