log_metric: Log the value of a model evaluation metric

Description Usage Arguments Note Examples

Description

Writes the value of the provided metric to a file in the metrics sub-directory of the current experiment

Usage

1
log_metric(experiment, metric, as)

Arguments

experiment

name of the current experiment

metric

the metric to write out

as

name to call the saved metric

Note

It is recommended not to change the value of as from one run of the experiment to the next as it will not be possible to evaluate the changing performance of the model with the changing value of metric

Examples

1
2
3
4
## Not run: 
log_param("experiment", metric = rmse, as = "rmse")

## End(Not run)

AndBooth/modeltracker documentation built on May 22, 2019, 3:38 p.m.