Class: Aws::SageMaker::Types::AutoMLS3DataSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::AutoMLS3DataSource
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
Describes the Amazon S3 data source.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#s3_data_type ⇒ String
The data type.
-
#s3_uri ⇒ String
The URL to the Amazon S3 data source.
Instance Attribute Details
#s3_data_type ⇒ String
The data type.
-
If you choose
S3Prefix,S3Uriidentifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training.The
S3Prefixshould have the following format:s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE -
If you choose
ManifestFile,S3Uriidentifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.A
ManifestFileshould have the format shown below:‘[ “s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/”, `
‘“DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1”,`
‘“DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2”,`
‘… “DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N” ]`
-
If you choose
AugmentedManifestFile,S3Uriidentifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training.AugmentedManifestFileis available for V2 API jobs only (for example, for jobs created by callingCreateAutoMLJobV2).Here is a minimal, single-record example of an
AugmentedManifestFile:‘“s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg”,`
‘“label-metadata”: {“class-name”: “cat”` \
For more information on
AugmentedManifestFile, see [Provide Dataset Metadata to Training Jobs with an Augmented Manifest File].
[1]: docs.aws.amazon.com/sagemaker/latest/dg/augmented-manifest.html
2661 2662 2663 2664 2665 2666 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 2661 class AutoMLS3DataSource < Struct.new( :s3_data_type, :s3_uri) SENSITIVE = [] include Aws::Structure end |
#s3_uri ⇒ String
The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.
2661 2662 2663 2664 2665 2666 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 2661 class AutoMLS3DataSource < Struct.new( :s3_data_type, :s3_uri) SENSITIVE = [] include Aws::Structure end |