MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / Mode

Function Mode

lib/gonum/stat/stat.go:836–864  ·  view source on GitHub ↗

Mode returns the most common value in the dataset specified by x and the given weights. Strict float64 equality is used when comparing values, so users should take caution. If several values are the mode, any of them may be returned.

(x, weights []float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestModeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestModeFunction · 0.68