shuffle lhs samples
This commit is contained in:
parent
d25d5b4cca
commit
a144069e6b
|
@ -283,6 +283,7 @@ def gen_lhs_samples(knobs, nsamples):
|
||||||
lhs_samples[-1][names[fidx]] = float(samples[sidx][fidx])
|
lhs_samples[-1][names[fidx]] = float(samples[sidx][fidx])
|
||||||
else:
|
else:
|
||||||
LOG.debug("LHS type not supported: %s", types[fidx])
|
LOG.debug("LHS type not supported: %s", types[fidx])
|
||||||
|
random.shuffle(lhs_samples)
|
||||||
|
|
||||||
return lhs_samples
|
return lhs_samples
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue