log_param: Log the value of a model parameter

Description Usage Arguments Note Examples

Description

Writes the value of the provided parameter to a file in the params sub-directory of the current experiment

Usage

1
log_param(experiment, param, as)

Arguments

experiment

name of the current experiment

param

the parameter to write out

as

name to call the saved parameter

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 param

Examples

1
2
3
4
5
## Not run: 
x <- 10
log_param("experiment", param = x, as = "x_value")

## End(Not run)

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