R/hyperdrive.R
get_child_runs_sorted_by_primary_metric.Rd
Return a list of child runs of the HyperDrive run sorted by their best
primary metric. The sorting is done according to the primary metric and
its goal: if it is maximize, then the child runs are returned in descending
order of their best primary metric. If reverse = TRUE
, the order is
reversed. Each child in the result has run id, hyperparameters, best primary
metric value, and status.
Child runs without the primary metric are discarded when
discard_no_metric = TRUE
. Otherwise, they are appended to the list behind
other child runs with the primary metric. Note that the reverse option has no
impact on them.
get_child_runs_sorted_by_primary_metric( hyperdrive_run, top = 0L, reverse = FALSE, discard_no_metric = FALSE )
hyperdrive_run | The |
---|---|
top | An integer of the number of top child runs to be returned. If |
reverse | If |
discard_no_metric | If |
The named list of child runs.