Log a table metric with the given metric name to the run. The table value is a named list where each element corresponds to a column of the table.

log_table_to_run(name, value, description = "", run = NULL)

Arguments

name

A string of the name of metric.

value

The table value of the metric (a named list where the element name corresponds to the column name).

description

(Optional) A string of the metric description.

run

The Run object. If not specified, will default to the current run from the service context.

Value

None

Examples

log_table_to_run("Y over X",
                 list("x" = c(1, 2, 3), "y" = c(0.6, 0.7, 0.89)))