Interface EvaluationOptions

interface EvaluationOptions {
    label: string;
    metricType: "categorical" | "score";
    mlApp?: string;
    tags?: {
        [key: string]: any;
    };
    timestampMs?: number;
    value: string | number;
}

Properties

label: string

The name of the evalutation metric

metricType: "categorical" | "score"

The type of evaluation metric, one of 'categorical' or 'score'

mlApp?: string

The name of the ML application

tags?: {
    [key: string]: any;
}

An object of string key-value pairs to tag the evaluation metric with.

Type declaration

  • [key: string]: any
timestampMs?: number

The timestamp in milliseconds when the evaluation metric result was generated.

value: string | number

The value of the evaluation metric. Must be string for 'categorical' metrics and number for 'score' metrics.