Types of scans¶
If a parameter scan is created with more than one scan parameter, it has to be decided how the different values for each parameter will be combined.
All combinations by default¶
Unless differently specified, all combinations of parameters values are considered and one output handler configuration file per combination will be created.
From the mathematical point of view, given \(n\) scan parameters with set of values \(X_1, ..., X_n\,\), the set of considered combinations is nothing but the \(n\)-ary Cartesian product over all sets of values,
For example, specifying two different scan parameters with 2 and 5 values, respectively, 10 values combinations will be built and 10 output files produced.
What happens if I provide a single value for a scan parameter?
If you provide a single-value list to Values
, this will be accepted by the hybrid handler and the provided value will be considered in all combinations.
If this happen to be the only provided scan parameter, a single configuration file will be created together with a basically useless single-combination file.
Latin Hypercube Sampling¶
This algorithm, if enabled, samples multidimensional parameters randomly, while keeping the distance between samples maximal, and is commonly used for Bayesian inference.
Refer to e.g. this page for more information.
The sampling itself is done by calling the lhs
function from the pyDoe Python library function, using the centermaximin
criterion.