fetch_experiment {SigOptR} | R Documentation |
Fetch an experiment
Description
Fetch an experiment
Usage
fetch_experiment(experiment_id, body = NULL)
Arguments
experiment_id |
the id of an experiment to fetch |
body |
Url params of GET request |
Value
SigOpt experiment with id experiment_id
Examples
env <- Sys.getenv("NOT_CRAN")
if (!identical(env, "true")) {
0
} else {
experiment <- create_experiment(list(
name="R test experiment",
parameters=list(
list(name="x1", type="double", bounds=list(min=0, max=100)),
list(name="x2", type="double", bounds=list(min=0, max=100))
)
))
fetch_experiment(experiment$id)}
[Package SigOptR version 0.0.1 Index]