Interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder (2.4.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
TypeDescription
float

The confidenceThreshold.

getF1Score()

public abstract float getF1Score()

Output only. The harmonic mean of recall and precision.

float f1_score = 5;

Returns
TypeDescription
float

The f1Score.

getPrecision()

public abstract float getPrecision()

Output only. Precision under the given confidence threshold.

float precision = 4;

Returns
TypeDescription
float

The precision.

getRecall()

public abstract float getRecall()

Output only. Recall under the given confidence threshold.

float recall = 3;

Returns
TypeDescription
float

The recall.