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

Function LatinHypercube

lib/gonum/stat/sampleuv/sample.go:98–113  ·  view source on GitHub ↗

LatinHypercube generates len(batch) samples using Latin hypercube sampling from the given distribution. If src != nil, it will be used to generate random numbers, otherwise rand.Float64 will be used. Latin hypercube sampling divides the cumulative distribution function into equally spaced bins and

(batch []float64, q distuv.Quantiler, src *rand.Rand)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SampleMethod · 0.70
TestLatinHypercubeFunction · 0.70

Calls 1

QuantileMethod · 0.65

Tested by 1

TestLatinHypercubeFunction · 0.56