Skip to content

Commit 8f4257c

Browse files
committed
address suggested changes
1 parent ff0a288 commit 8f4257c

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

src/sagemaker/inputs.py

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ class TransformInput(object):
168168
169169
Args:
170170
data (str): The S3 location of the input data that the model can consume.
171-
data_type (str): elastic inference accelerator type.
171+
data_type (str): The data type for an elastic inference accelerator.
172172
(default: ``'S3Prefix'``)
173-
content_type (str): The multipurpose internet mail extension (MIME) type of the data.
173+
content_type (str): The multi-purpose internet email extension (MIME) type of the data.
174174
(default: None)
175175
compression_type (str): If your transform data is compressed, specify the compression type.
176176
Valid values: ``'Gzip'``, ``None``
@@ -179,23 +179,25 @@ class TransformInput(object):
179179
batches.
180180
Valid values: ``'Line'``, ``RecordIO``, ``'TFRecord'``, None
181181
(default: None)
182-
input_filter (str): A JSONPath expression used to select a portion of the input data to pass
183-
to the algorithm. Use the InputFilter parameter to exclude fields, such as an ID column,
184-
from the input. If you want SageMaker to pass the entire input dataset to the algorithm,
185-
accept the default value ``$``. For more information on batch transform data processing,
186-
input, join, and output, see
182+
input_filter (str): A JSONPath expression for selecting a portion of the input data to pass
183+
to the algorithm. For example, you can use this parameter to exclude fields, such as an
184+
ID column, from the input. If you want SageMaker to pass the entire input dataset to the
185+
algorithm, accept the default value ``$``. For more information on batch transform data
186+
processing, input, join, and output, see
187187
`Associate Prediction Results with Input Records
188188
<https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html?>`_
189189
in the *Amazon SageMaker developer guide*.
190-
Valid values: ``$``. For more options, see `JSONPath Operators
190+
Example value: ``$``. For more information about valid values for this parameter, see
191+
`JSONPath Operators
191192
<https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators>`_
192193
in the *Amazon SageMaker developer guide*.
193194
(default: ``$``)
194-
output_filter (str): A JSONPath expression used to select a portion of the joined dataset to
195+
output_filter (str): A JSONPath expression for selecting a portion of the joined dataset to
195196
save in the output file for a batch transform job. If you want SageMaker to store the
196197
entire input dataset in the output file, leave the default value, $. If you specify
197198
indexes that aren't within the dimension size of the joined dataset, you get an error.
198-
Valid values: ``$``. For more options, see `JSONPath Operators
199+
Example value: ``$``. For more information about valid values for this parameter, see
200+
`JSONPath Operators
199201
<https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators>`_
200202
in the *Amazon SageMaker developer guide*.
201203
(default: ``$``)
@@ -213,9 +215,12 @@ class TransformInput(object):
213215
* ``'InvocationsMaxRetries'`` (int) - The maximum number of retries when invocation
214216
requests are failing.
215217
216-
(default: ``{'InvocationsTimeoutInSeconds'=600,'InvocationsMaxRetries'=3}``)
218+
(default: ``{600,3}``)
217219
batch_data_capture_config (dict): Specifies configuration related to batch transform job
218-
data capture for use with Amazon SageMaker Model Monitoring.
220+
data capture for use with Amazon SageMaker Model Monitoring. For more information about
221+
batch transform job data capture, see `Capture data from batch transform job
222+
<https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture-batch.html>`_
223+
in the *Amazon SageMaker developer guide*.
219224
(default: None)
220225
"""
221226

0 commit comments

Comments
 (0)