Links

Experiment Update

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

Parameters

Name
Type
Required?
Description
metadata
Metadata
N
Optional user-provided object. See Using Metadata for more information.
metrics
array<Metric>
N
An array of Metric objects. Only the threshold field of metrics can be updated. Use the threshold value null to remove a threshold.
name
string
N
A user-specified name for this experiment.
observation_budget
int
N
The number of Observations you plan to create for this experiment. This can be thought of as a lower bound on the number of observations you will create. Failing to reach this value may result in suboptimal performance for your experiment. For experiments with multiple metrics, this cannot be updated.
parallel_bandwidth
int
N
The number of simultaneously open Suggestions you plan to maintain during this experiment. The default value for this is 1, i.e., a sequential experiment. The maximum value for this is dependent on your plan. This field is optional, but setting it correctly may improve performance.
parameters
array<Parameter>
N
An array of Parameter objects. Only the bounds, categorical_values, precision, and default_value fields on parameters can be updated.
state
string
N
The state of this experiment. Can be active (for experiments that are currently running), or deleted (for experiments that have been deleted).

Response

Experiment object.

Example Request

Python
Bash
Java
experiment = conn.experiments(EXPERIMENT_ID).update(
name="Support Vector Classifier Accuracy"
)
EXPERIMENT=`curl -s -X PUT https://api.sigopt.com/v1/experiments/EXPERIMENT_ID -u "$SIGOPT_API_TOKEN": \
-H 'Content-Type: application/json' \
-d "{\"name\":\"Suppport Vector Classifier Accuracy\"}"`
Experiment experiment = Experiment.update(EXPERIMENT_ID)
.data(
new Experiment.Builder()
.name("Support Vector Classifier Accuracy")
.build()
)
.call();
Response