Retrieve the metrics logged to a run that were logged with
the log_*()
methods.
get_run_metrics( run, name = NULL, recursive = FALSE, run_type = NULL, populate = FALSE )
run | The |
---|---|
name | The name of the metric. |
recursive | If specified, returns runs matching specified "property" or "property": "value". |
run_type | run type |
populate | Boolean indicating whether to fetch the contents of external data linked to the metric. |
A named list of the metrics associated with the run,
e.g. list("metric_name" = metric)
.
ws <- load_workspace_from_config() exp <- experiment(ws, name = 'myexperiment') run <- get_run(exp, run_id = "myrunid") metrics <- get_run_metrics(run)