Links

Suggestion Update

https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions/SUGGESTION_ID
Updates an existing Suggestion.
Request Method: PUT

Parameters

Name
Type
Required?
Description
metadata
Metadata
N
Optional user-provided object. See Using Metadata for more information.

Response

Suggestion object.

Example Request

Python
Bash
Java
suggestion = conn.experiments(EXPERIMENT_ID).suggestions(SUGGESTION_ID).update(
metadata=dict(
host="127.0.0.1"
)
)
SUGGESTION=`curl -s -X PUT https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions/SUGGESTION_ID -u "$SIGOPT_API_TOKEN": \
-H 'Content-Type: application/json' \
-d "{\"metadata\":{\"host\":\"127.0.0.1\"}}"`
Suggestion suggestion = new Experiment(EXPERIMENT_ID).suggestions(SUGGESTION_ID).update()
.data(
new Suggestion.Builder()
.metadata(new Metadata.Builder()
.set("host", "127.0.0.1")
.build())
.build()
)
.call();
Response