get_child_runs_sorted_by_primary_metric: Get the child runs sorted in descending order by best primary...

Description Usage Arguments Value

View source: R/hyperdrive.R

Description

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.

Usage

1
2
3
4
5
6
get_child_runs_sorted_by_primary_metric(
  hyperdrive_run,
  top = 0L,
  reverse = FALSE,
  discard_no_metric = FALSE
)

Arguments

hyperdrive_run

The HyperDriveRun object.

top

An integer of the number of top child runs to be returned. If 0 (the default value), all child runs will be returned.

reverse

If TRUE, the order will be reversed. This sorting only impacts child runs with the primary metric.

discard_no_metric

If FALSE, child runs without the primary metric will be appended to the list returned.

Value

The named list of child runs.


azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.