Registry / utility / beorn7-perks

beorn7-perks

JSON →
library1.0.1gogounverified

Package perks provides efficient quantile estimation and other statistical utilities.

go get github.com/beorn7/perks
INSTALL
IMPORT
SIG · BEORN7-PERKS
B
beorn7-perks
utilitygov1.0.1
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.

quantile
github.com/beorn7/perks/quantile

Compute streaming quantiles (e.g., median, 90th percentile) from a data stream.

import "github.com/beorn7/perks/quantile" stream := quantile.NewTargeted(0.5, 0.9, 0.99) for _, v := range []float64{1, 2, 3, 4, 5} { stream.Insert(v) } fmt.Println("Median:", stream.Query(0.5))
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
beorn7-perks — go get beorn7-perks · libregistry