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_configString

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)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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

#domainString

The machine learning domain of the model and its components.

Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING

Returns:

  • (String)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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

#frameworkString

The machine learning framework of the container image.

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

Returns:

  • (String)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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_versionString

The framework version of the container image.

Returns:

  • (String)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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_nameString

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)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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_configTypes::RecommendationJobPayloadConfig

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



37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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_typeString

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)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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_typesArray<String>

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

Returns:

  • (Array<String>)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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_typesArray<String>

The supported MIME types for the output data.

Returns:

  • (Array<String>)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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

#taskString

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)


37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37674

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