esem.utils.get_uniform_params¶
- esem.utils.get_uniform_params(n_params, n_samples=5)¶
- Slightly convoluted method for getting a flat set of points evenly
sampling a (unit) N-dimensional space
- Parameters
n_params (
int
) – The number of parameters (dimensions) to sample fromn_samples (
int
) – The number of uniformly spaced samples (in each dimension)
- Returns
ndarray
– n_samples**n_params parameters uniformly sampled