Class: Aws::SageMaker::Types::MetricSpecification

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

Overview

Note:

MetricSpecification is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MetricSpecification corresponding to the set member.

An object containing information about a metric.

Direct Known Subclasses

Customized, Predefined, Unknown

Defined Under Namespace

Classes: Customized, Predefined, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customizedTypes::CustomizedMetricSpecification

Information about a customized metric.



31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31903

class MetricSpecification < Struct.new(
  :predefined,
  :customized,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Predefined < MetricSpecification; end
  class Customized < MetricSpecification; end
  class Unknown < MetricSpecification; end
end

#predefinedTypes::PredefinedMetricSpecification

Information about a predefined metric.



31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31903

class MetricSpecification < Struct.new(
  :predefined,
  :customized,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Predefined < MetricSpecification; end
  class Customized < MetricSpecification; end
  class Unknown < MetricSpecification; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



31903
31904
31905
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31903

def unknown
  @unknown
end