XPSConfidenceMetricsEntry
import type { XPSConfidenceMetricsEntry } from "https://googleapis.deno.dev/v1/language:v2.ts";
ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.
§Properties
Metrics are computed with an assumption that the model never return predictions with score lower than this value.
The number of ground truth labels that are not matched by a model created label.
The number of model created labels that do not match a ground truth label.
The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.
The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.
The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.