Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

Evaluations metrics, at a specific confidence level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics

Returns a new instance of GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics.



10656
10657
10658
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10656

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidence_levelFloat

The confidence level. Corresponds to the JSON property confidenceLevel

Returns:

  • (Float)


10649
10650
10651
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10649

def confidence_level
  @confidence_level
end

#metricsGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics

Evaluation metrics, either in aggregate or about a specific entity. Corresponds to the JSON property metrics



10654
10655
10656
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10654

def metrics
  @metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10661
10662
10663
10664
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10661

def update!(**args)
  @confidence_level = args[:confidence_level] if args.key?(:confidence_level)
  @metrics = args[:metrics] if args.key?(:metrics)
end