class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics
Evaluation metrics, either in aggregate or about a specific entity.
Attributes
The calculated f1 score. Corresponds to the JSON property `f1Score` @return [Float]
The amount of false negatives. Corresponds to the JSON property `falseNegativesCount` @return [Fixnum]
The amount of false positives. Corresponds to the JSON property `falsePositivesCount` @return [Fixnum]
The amount of occurrences in ground truth documents. Corresponds to the JSON property `groundTruthOccurrencesCount` @return [Fixnum]
The calculated precision. Corresponds to the JSON property `precision` @return [Float]
The amount of occurrences in predicted documents. Corresponds to the JSON property `predictedOccurrencesCount` @return [Fixnum]
The calculated recall. Corresponds to the JSON property `recall` @return [Float]
The amount of documents that had an occurrence of this label. Corresponds to the JSON property `totalDocumentsCount` @return [Fixnum]
The amount of true positives. Corresponds to the JSON property `truePositivesCount` @return [Fixnum]
Public Class Methods
# File lib/google/apis/documentai_v1beta3/classes.rb, line 6523 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/documentai_v1beta3/classes.rb, line 6528 def update!(**args) @f1_score = args[:f1_score] if args.key?(:f1_score) @false_negatives_count = args[:false_negatives_count] if args.key?(:false_negatives_count) @false_positives_count = args[:false_positives_count] if args.key?(:false_positives_count) @ground_truth_occurrences_count = args[:ground_truth_occurrences_count] if args.key?(:ground_truth_occurrences_count) @precision = args[:precision] if args.key?(:precision) @predicted_occurrences_count = args[:predicted_occurrences_count] if args.key?(:predicted_occurrences_count) @recall = args[:recall] if args.key?(:recall) @total_documents_count = args[:total_documents_count] if args.key?(:total_documents_count) @true_positives_count = args[:true_positives_count] if args.key?(:true_positives_count) end