meta_from_log {sarsop} | R Documentation |
meta from log
Description
load metadata from a log file
Usage
meta_from_log(
parameters,
log_dir = ".",
metafile = paste0(log_dir, "/meta.csv")
)
Arguments
parameters |
a data.frame with the desired parameter values as given in metafile |
log_dir |
path to log directory |
metafile |
path to metafile index, assumed to be meta.csv in log_dir |
Value
a data.frame with the rows of the matching metadata.
Examples
# takes > 5s
source(system.file("examples/fisheries-ex.R", package = "sarsop"))
log = tempfile()
alpha <- sarsop(transition, observation, reward, discount, precision = 10,
log_dir = log)
[Package sarsop version 0.6.15 Index]