Suggestion Update

https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/suggestions/SUGGESTION_ID

Updates an existing Suggestion.

Request Method: PUT

Parameters

NameTypeRequired?Description
metadataMetadataNOptional user-provided object. See Using Metadata for more information.

Response

Suggestion object.

Example Request

suggestion = conn.experiments(EXPERIMENT_ID).suggestions(SUGGESTION_ID).update(
  metadata=dict(
    host="127.0.0.1"
    )
  )
Response
{
  "assignments": {
    "degree": 2,
    "gamma": 3.6,
    "kernel": "rbf"
  },
  "created": 1414800000,
  "deleted": null,
  "experiment": "1",
  "id": "2",
  "metadata": {
    "host": "127.0.0.1"
  },
  "object": "suggestion",
  "state": "open"
}