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 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)


2756
2757
2758
2759
2760
2761
2762
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2756

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)


2756
2757
2758
2759
2760
2761
2762
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2756

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)


2756
2757
2758
2759
2760
2761
2762
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2756

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