Metric Object

A representation of the value that an experiment is optimizing.

Fields

KeyTypeValue
namestringA user-specified name for this metric.
objectivestringOptional. Specifies the optimization type for this metric. Can be “maximize” or “minimize”. If unspecified, the metric will be maximized.
thresholdfloatThe minimum or maximum desired value for your metric. See the thresholds documentation for more details. This field is currently only supported by experiments with more than one metric.

Example

{
  "name": "Accuracy",
  "object": "metric",
  "objective": "maximize",
  "strategy": "optimize",
  "threshold": null
}