View source: R/meta_from_log.R
alphas_from_log | R Documentation |
Read alpha vectors from a log file.
alphas_from_log(meta, log_dir = ".")
meta |
a data frame containing the log metadata
for each set of alpha vectors desired, see
|
log_dir |
path to log directory |
a list with a matrix of alpha vectors for each
entry in the provided metadata (as returned by sarsop
).
# takes > 5s
source(system.file("examples/fisheries-ex.R", package = "sarsop"))
log = tempfile()
alpha <- sarsop(transition, observation, reward, discount, precision = 10,
log_dir = log)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.