An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/lightstep/varopt

Package varopt contains an implementation of VarOpt, an unbiased weighted sampling algorithm described in the paper "Stream sampling for variance-optimal estimation of subset sums" https://arxiv.org/pdf/0803.0473.pdf (2008), by Edith Cohen, Nick Duffield, Haim Kaplan, Carsten Lund, and Mikkel Thorup. VarOpt is a reservoir-type sampler that maintains a fixed-size sample and provides a mechanism for merging unequal-weight samples. This package also includes a simple reservoir sampling algorithm, often useful in conjunction with weighed reservoir sampling, using Algorithm R from "Random sampling with a reservoir", https://en.wikipedia.org/wiki/Reservoir_sampling#Algorithm_R (1985), by Jeffrey Vitter. See https://github.com/lightstep/varopt/blob/master/README.md for more detail.

Ecosystem
proxy.golang.org
Latest Release
v1.4.0
over 2 years ago
Versions
5
Dependent Packages
23
Dependent Repos
9
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/lightstep/varopt
spec
License Apache-2.0
Namespace github.com/lightstep
First Release over 6 years ago
Last Synced 19 days ago
Repository
Stars 9 on GitHub
Forks 0 on GitHub
Docker Dependents 6
Docker Downloads 511
Rankings on proxy.golang.org
Overall Top 6.7%
Dependent packages Top 1.0%
Dependent repos Top 1.7%
Docker downloads Top 2.0%