f3dasm icon indicating copy to clipboard operation
f3dasm copied to clipboard

Sampler random seed

Open SNMS95 opened this issue 1 year ago • 0 comments

rsampler = f3dasm.sampling.RandomUniformSampling(design, seed = 5)
samples_random = rsampler.get_samples(2)

gives the result image

If I run samples_random = rsampler.get_samples(2) again, it gives a different set of samples. image So wouldn't it make more sense to add the seed option to the get_samples() function instead ?

SNMS95 avatar Nov 17 '22 19:11 SNMS95