Class: Aws::Comprehend::Types::EntityRecognizerEvaluationMetrics

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#f1_scoreFloat

A measure of how accurate the recognizer results are for 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)


3085
3086
3087
3088
3089
3090
3091
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3085

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

#precisionFloat

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

Returns:

  • (Float)


3085
3086
3087
3088
3089
3090
3091
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3085

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

#recallFloat

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

Returns:

  • (Float)


3085
3086
3087
3088
3089
3090
3091
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3085

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