Interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder (2.54.0)

public static interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidenceThreshold()

public abstract float getConfidenceThreshold()

Output only. The confidence threshold value used to compute the metrics. Only annotations with score of at least this threshold are considered to be ones the model would return.

float confidence_threshold = 1;

Returns
Type Description
float

The confidenceThreshold.

getF1Score()

public abstract float getF1Score()

Output only. The harmonic mean of recall and precision.

float f1_score = 5;

Returns
Type Description
float

The f1Score.

getPrecision()

public abstract float getPrecision()

Output only. Precision under the given confidence threshold.

float precision = 4;

Returns
Type Description
float

The precision.

getRecall()

public abstract float getRecall()

Output only. Recall under the given confidence threshold.

float recall = 3;

Returns
Type Description
float

The recall.