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.

Defined Under Namespace

Classes: Customized, Predefined, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customized ⇒ Types::CustomizedMetricSpecification

Information about a customized metric.



40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40949

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

#predefined ⇒ Types::PredefinedMetricSpecification

Information about a predefined metric.



40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40949

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



40949
40950
40951
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40949

def unknown
  @unknown
end