https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/queued_suggestions
Creates a Queued Suggestion. If there are Queued Suggestions available for this experiment, those will be used to create the next Suggestion that is created.
Request Method: POST
Parameters
Name
Type
Required?
Description
Allows you to specify the assignments of this . You must specify exactly one value for each parameter in the experiment.
Response
Queued Suggestion object.
Example Request
queued_suggestion = conn.experiments(EXPERIMENT_ID).queued_suggestions().create(
assignments=dict(
degree=2,
gamma=3.6,
kernel="rbf"
)
)
QUEUED_SUGGESTION=`curl -s -X POST https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/queued_suggestions -u "$SIGOPT_API_TOKEN": \
-H 'Content-Type: application/json' \
-d "{\"assignments\":{\"degree\":2,\"gamma"\:3.6,\"kernel\":\"rbf\"}}"`
QueuedSuggestion queuedSuggestion = new Experiment(EXPERIMENT_ID).queuedSuggestions().create()
.addParam("assignments", new Assignments.Builder()
.set("degree", 2)
.set("gamma", 3.6)
.set("kernel", "rbf")
.build())
.call();
Response
{
"assignments": {
"degree": 2,
"gamma": 3.6,
"kernel": "rbf"
},
"created": 1414800000,
"experiment": "1",
"id": "1",
"object": "queued_suggestion"
}