Observation Object

/experiments/EXPERIMENT_ID/observations/OBSERVATION_ID

The observed data from a single trial in your experiment. Observations have a values which reflects the values of the metrics you are trying to optimize.

Fields

Key
Type
Value

assignments

created

int

The timestamp (in seconds since epoch) that this observation was reported.

experiment

string

failed

boolean

A boolean indicating whether this observation failed for some reason. SigOpt takes this into consideration when optimizing. It is invalid for both failed to be true, and value or values to be present. The default value is false.

id

string

A unique ID for this observation.

metadata

Optional user-provided object. See Using Metadata for more information.

suggestion

string

values

Deprecated Fields

These fields should no longer be used because there are better alternatives.

Key
Type
Value

value

float

The observed metric value from this trial. Only available for single metric experiments.

value_stddev

float

The standard deviation in value that was observed in this trial. Only available for single metric experiments.

Supported Endpoints

Method
URI
Description

POST

Observation Batch Create

POST

Observation Create

GET

Observation Detail

GET

Observation List

PUT

Observation Update

DELETE

Observation Delete

DELETE

Observation List Delete

Examples

{
  "assignments": {
    "degree": 2,
    "gamma": 3.6,
    "kernel": "rbf"
  },
  "created": 1414800000,
  "experiment": "1",
  "failed": false,
  "id": "1",
  "metadata": null,
  "object": "observation",
  "suggestion": "1",
  "value": 1,
  "value_stddev": null,
  "values": [
    {
      "name": "Accuracy",
      "object": "metric_evaluation",
      "value": 1,
      "value_stddev": null
    }
  ]
}
{
  "assignments": {
    "degree": 2,
    "gamma": 3.6,
    "kernel": "rbf"
  },
  "created": 1414800000,
  "experiment": "1",
  "failed": true,
  "id": "3",
  "metadata": null,
  "object": "observation",
  "suggestion": "2",
  "value": null,
  "value_stddev": null
}

Last updated