This is documentation for an old release of SciPy (version 1.7.0). Read this page in the documentation of the latest stable release (version 1.15.0).

scipy.stats.qmc.LatinHypercube.random

LatinHypercube.random(n=1)[source]

Draw n in the half-open interval [0, 1).

Parameters
nint, optional

Number of samples to generate in the parameter space. Default is 1.

Returns
samplearray_like (n, d)

LHS sample.