Class: Aws::DataZone::Types::AcceptRule

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

Overview

Specifies the rule and the threshold under which a prediction can be accepted.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ruleString

Specifies whether you want to accept the top prediction for all targets or none.

Returns:

  • (String)


122
123
124
125
126
127
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 122

class AcceptRule < Struct.new(
  :rule,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdFloat

The confidence score that specifies the condition at which a prediction can be accepted.

Returns:

  • (Float)


122
123
124
125
126
127
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 122

class AcceptRule < Struct.new(
  :rule,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end