Class: Aws::Comprehend::Types::EntityTypesEvaluationMetrics

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Detailed information about the accuracy of an entity recognizer for a specific entity type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#f1_scoreFloat

A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

Returns:

  • (Float)


3673
3674
3675
3676
3677
3678
3679
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3673

class EntityTypesEvaluationMetrics < Struct.new(
  :precision,
  :recall,
  :f1_score)
  SENSITIVE = []
  include Aws::Structure
end

#precisionFloat

A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

Returns:

  • (Float)


3673
3674
3675
3676
3677
3678
3679
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3673

class EntityTypesEvaluationMetrics < Struct.new(
  :precision,
  :recall,
  :f1_score)
  SENSITIVE = []
  include Aws::Structure
end

#recallFloat

A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.

Returns:

  • (Float)


3673
3674
3675
3676
3677
3678
3679
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3673

class EntityTypesEvaluationMetrics < Struct.new(
  :precision,
  :recall,
  :f1_score)
  SENSITIVE = []
  include Aws::Structure
end