Share via


EvaluatorMetric interface

Evaluator Metric

Properties

desirable_direction

It indicates whether a higher value is better or a lower value is better for this metric.

is_primary

Indicates if this metric is primary when there are multiple metrics.

max_value

Maximum value for the metric. If not specified, it is assumed to be unbounded.

min_value

Minimum value for the metric

type

Type of the metric.

Property Details

desirable_direction

It indicates whether a higher value is better or a lower value is better for this metric.

desirable_direction?: EvaluatorMetricDirection

Property Value

is_primary

Indicates if this metric is primary when there are multiple metrics.

is_primary?: boolean

Property Value

boolean

max_value

Maximum value for the metric. If not specified, it is assumed to be unbounded.

max_value?: number

Property Value

number

min_value

Minimum value for the metric

min_value?: number

Property Value

number

type

Type of the metric.

type?: EvaluatorMetricType

Property Value