Class: Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/evaluation.rb
Overview
Evaluation metrics, either in aggregate or about a specific entity.
Instance Attribute Summary collapse
-
#f1_score ⇒ ::Float
The calculated f1 score.
-
#false_negatives_count ⇒ ::Integer
The amount of false negatives.
-
#false_positives_count ⇒ ::Integer
The amount of false positives.
-
#ground_truth_document_count ⇒ ::Integer
The amount of documents with a ground truth occurrence.
-
#ground_truth_occurrences_count ⇒ ::Integer
The amount of occurrences in ground truth documents.
-
#precision ⇒ ::Float
The calculated precision.
-
#predicted_document_count ⇒ ::Integer
The amount of documents with a predicted occurrence.
-
#predicted_occurrences_count ⇒ ::Integer
The amount of occurrences in predicted documents.
-
#recall ⇒ ::Float
The calculated recall.
-
#total_documents_count ⇒ ::Integer
The amount of documents that had an occurrence of this label.
-
#true_positives_count ⇒ ::Integer
The amount of true positives.
Instance Attribute Details
#f1_score ⇒ ::Float
Returns The calculated f1 score.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#false_negatives_count ⇒ ::Integer
Returns The amount of false negatives.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#false_positives_count ⇒ ::Integer
Returns The amount of false positives.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ground_truth_document_count ⇒ ::Integer
Returns The amount of documents with a ground truth occurrence.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ground_truth_occurrences_count ⇒ ::Integer
Returns The amount of occurrences in ground truth documents.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#precision ⇒ ::Float
Returns The calculated precision.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#predicted_document_count ⇒ ::Integer
Returns The amount of documents with a predicted occurrence.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#predicted_occurrences_count ⇒ ::Integer
Returns The amount of occurrences in predicted documents.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#recall ⇒ ::Float
Returns The calculated recall.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#total_documents_count ⇒ ::Integer
Returns The amount of documents that had an occurrence of this label.
124 125 126 127 |
# File 'proto_docs/google/cloud/documentai/v1beta3/evaluation.rb', line 124 class Metrics include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |