Class: Aws::SageMaker::Types::RecommendationJobContainerConfig

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

Overview

Specifies mandatory fields for running an Inference Recommender job directly in the CreateInferenceRecommendationsJob API. The fields specified in ContainerConfig override the corresponding fields in the model package. Use ContainerConfig if you want to specify these fields for the recommendation job but don't want to edit them in your model package.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_input_config ⇒ String

Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. This field is used for optimizing your model using SageMaker Neo. For more information, see DataInputConfig.

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#domain ⇒ String

The machine learning domain of the model and its components.

Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#framework ⇒ String

The machine learning framework of the container image.

Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#framework_version ⇒ String

The framework version of the container image.

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#nearest_model_name ⇒ String

The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender that matches your model.

Valid Values: efficientnetb7 | unet | xgboost | faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 | mask-rcnn | sagemaker-scikit-learn | densenet201-gluon | resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 | bert-base-cased | xceptionV1-keras | resnet50 | retinanet

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#payload_config ⇒ Types::RecommendationJobPayloadConfig

Specifies the SamplePayloadUrl and all other sample payload-related fields.



50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_endpoint_type ⇒ String

The endpoint type to receive recommendations for. By default this is null, and the results of the inference recommendation job return a combined list of both real-time and serverless benchmarks. By specifying a value for this field, you can receive a longer list of benchmarks for the desired endpoint type.

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_instance_types ⇒ Array<String>

A list of the instance types that are used to generate inferences in real-time.

Returns:

  • (Array<String>)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#supported_response_mime_types ⇒ Array<String>

The supported MIME types for the output data.

Returns:

  • (Array<String>)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end

#task ⇒ String

The machine learning task that the model accomplishes.

Valid Values: IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER

Returns:

  • (String)


50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 50097

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :supported_endpoint_type,
  :data_input_config,
  :supported_response_mime_types)
  SENSITIVE = []
  include Aws::Structure
end