Interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getConfidenceThreshold()
      Output only.
      float getF1Score()
      Output only.
      float getPrecision()
      Output only.
      float getRecall()
      Output only.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getConfidenceThreshold

        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:
        The confidenceThreshold.
      • getRecall

        float getRecall()
         Output only. Recall under the given confidence threshold.
         
        float recall = 3;
        Returns:
        The recall.
      • getPrecision

        float getPrecision()
         Output only. Precision under the given confidence threshold.
         
        float precision = 4;
        Returns:
        The precision.
      • getF1Score

        float getF1Score()
         Output only. The harmonic mean of recall and precision.
         
        float f1_score = 5;
        Returns:
        The f1Score.