collect_emulators | R Documentation |
Manipulates lists (or lists of lists) of emulators into a useable form.
collect_emulators(
emulators,
targets = NULL,
cutoff = 3,
ordering = c("params", "imp", "volume"),
sample_size = 200,
...
)
emulators |
The recursive list of emulators |
targets |
If not NULL, uses implausibility to order the emulators. |
cutoff |
The implausibility cutoff to use (if required) |
ordering |
The order in which to apply the relevant metrics |
sample_size |
The number of points to apply implausibility to (if required) |
... |
Any additional arguments to pass recursively to collect_emulators |
Most often used as a pre-processing stage for generate_new_design
or
nth_implausible
, this takes a list of emulators in a variety of forms
coming from either multiple waves of history matching, hierarchical emulation
or bimodal emulation, and arrange them in a form suitable for sequential analysis.
Emulators are also ordered by a number of factors: number of parameters, size of
the minimum enclosing hyperrectangle, and implausibility (where applicable).
If targets are provided, then the emulators can also be tested on the basis of
how restrictive they are: this is included in the ordering. The cutoff by which to
make a determination of implausibility for a point is governed by cutoff
.
The number of points to sample to consider implausibility is chosen by the value
of sample_size
: higher values are likely to be a more accurate reflection
but will take longer.
The weighting of each of the three metrics can be chosen using the ordering
argument: metrics with higher weight are closer to the front of the character vector.
The metrics are denoted "params" for number of parameters, "imp" for restrictiveness,
and "volume" for volume of the hyperrectangle. For instance, a character vector
c("volume", "imp")
would sort first by volume of the minimum enclosing hyperrectangle,
resolve ties by restrictiveness, and not consider the number of parameters.
A list of emulators with the ordered property described above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.