Description Usage Arguments Value Examples
Create a suggestion for an experiment
1 | create_suggestion(experiment_id, body = NULL)
|
experiment_id |
the id of an experiment to create an suggestion for |
body |
POST body of create request |
suggestion created by SigOpt
1 2 3 4 5 6 7 8 9 10 11 12 | 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))
)
))
create_suggestion(experiment$id)}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.