log_metric_to_run: Log a metric to a run

Description Usage Arguments Value Examples

View source: R/run.R

Description

Log a numerical or string value with the given metric name to the run. Logging a metric to a run causes that metric to be stored in the run record in the experiment. You can log the same metric multiple times within a run, the result being considered a vector of that metric.

Usage

1
log_metric_to_run(name, value, run = NULL)

Arguments

name

A string of the name of the metric.

value

The value of the metric.

run

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

Value

None

Examples

1
log_metric_to_run("Accuracy", 0.95)

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