Clone this repo:
  1. 3a771d9 Merge pull request #3 from mattbostock/avoid_map_iter by Björn Rabenstein · 9 months ago master
  2. b848f97 Avoid iterating on maps by Matt Bostock · 9 months ago
  3. 4c0e845 Merge pull request #2 from fstab/fix-off-by-one-error-for-small-sample-sizes by Björn Rabenstein · 2 years, 4 months ago
  4. 32e80b9 Expose bug for small samples by beorn7 · 2 years, 4 months ago
  5. 1ac20f1 Fix off-by-one error for small sample sizes by Fabian Stäber · 2 years, 5 months ago

Perks for Go (golang.org)

Perks contains the Go package quantile that computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.

For more information and examples, see: http://godoc.org/github.com/bmizerany/perks

A very special thank you and shout out to Graham Cormode (Rutgers University), Flip Korn (AT&T Labs–Research), S. Muthukrishnan (Rutgers University), and Divesh Srivastava (AT&T Labs–Research) for their research and publication of Effective Computation of Biased Quantiles over Data Streams

Thank you, also:

  • Armon Dadgar (@armon)
  • Andrew Gerrand (@nf)
  • Brad Fitzpatrick (@bradfitz)
  • Keith Rarick (@kr)

FAQ:

Q: Why not move the quantile package into the project root? A: I want to add more packages to perks later.

Copyright (C) 2013 Blake Mizerany

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.