GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3EvaluationMetrics (google_api_document_ai v0.29.0) View Source

Evaluation metrics, either in aggregate or about a specific entity.

Attributes

  • f1Score (type: number(), default: nil) - The calculated f1 score.
  • falseNegativesCount (type: integer(), default: nil) - The amount of false negatives.
  • falsePositivesCount (type: integer(), default: nil) - The amount of false positives.
  • groundTruthOccurrencesCount (type: integer(), default: nil) - The amount of occurrences in ground truth documents.
  • precision (type: number(), default: nil) - The calculated precision.
  • predictedOccurrencesCount (type: integer(), default: nil) - The amount of occurrences in predicted documents.
  • recall (type: number(), default: nil) - The calculated recall.
  • totalDocumentsCount (type: integer(), default: nil) - The amount of documents that had an occurrence of this label.
  • truePositivesCount (type: integer(), default: nil) - The amount of true positives.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3EvaluationMetrics{
    f1Score: number() | nil,
    falseNegativesCount: integer() | nil,
    falsePositivesCount: integer() | nil,
    groundTruthOccurrencesCount: integer() | nil,
    precision: number() | nil,
    predictedOccurrencesCount: integer() | nil,
    recall: number() | nil,
    totalDocumentsCount: integer() | nil,
    truePositivesCount: integer() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.