Class: Aws::Textract::Types::EvaluationMetric

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-textract/types.rb

Overview

The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#f1_scoreFloat

The F1 score for an adapter version.

Returns:

  • (Float)


1079
1080
1081
1082
1083
1084
1085
# File 'lib/aws-sdk-textract/types.rb', line 1079

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

#precisionFloat

The Precision score for an adapter version.

Returns:

  • (Float)


1079
1080
1081
1082
1083
1084
1085
# File 'lib/aws-sdk-textract/types.rb', line 1079

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

#recallFloat

The Recall score for an adapter version.

Returns:

  • (Float)


1079
1080
1081
1082
1083
1084
1085
# File 'lib/aws-sdk-textract/types.rb', line 1079

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