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)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :data_input_config)
  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)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

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

#frameworkString

The machine learning framework of the container image.

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

Returns:

  • (String)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

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

#framework_versionString

The framework version of the container image.

Returns:

  • (String)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :data_input_config)
  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)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

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

#payload_configTypes::RecommendationJobPayloadConfig

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



32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :data_input_config)
  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>)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

class RecommendationJobContainerConfig < Struct.new(
  :domain,
  :task,
  :framework,
  :framework_version,
  :payload_config,
  :nearest_model_name,
  :supported_instance_types,
  :data_input_config)
  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)


32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 32699

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