Skip to content

Commit 5512f71

Browse files
committed
comments v3
1 parent 254f2f1 commit 5512f71

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/sagemaker/inputs.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class CreateModelInput(object):
162162

163163
@attr.s
164164
class TransformInput(object):
165-
"""Create a class containing all the parameters.
165+
"""Creates a class containing parameters for configuring input data for a batch tramsform job.
166166
167167
It can be used when calling ``sagemaker.transformer.Transformer.transform()``
168168
@@ -180,14 +180,14 @@ class TransformInput(object):
180180
Valid values: ``'Line'``, ``RecordIO``, ``'TFRecord'``, None
181181
(default: None)
182182
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
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
186186
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-
Example value: ``$``. For more information about valid values for this parameter, see
190+
Example value: ``$``. For more information about valid values for this parameter, see
191191
`JSONPath Operators
192192
<https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators>`_
193193
in the *Amazon SageMaker developer guide*.
@@ -196,7 +196,7 @@ class TransformInput(object):
196196
save in the output file for a batch transform job. If you want SageMaker to store the
197197
entire input dataset in the output file, leave the default value, $. If you specify
198198
indexes that aren't within the dimension size of the joined dataset, you get an error.
199-
Example value: ``$``. For more information about valid values for this parameter, see
199+
Example value: ``$``. For more information about valid values for this parameter, see
200200
`JSONPath Operators
201201
<https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators>`_
202202
in the *Amazon SageMaker developer guide*.
@@ -216,9 +216,11 @@ class TransformInput(object):
216216
requests are failing.
217217
218218
(default: ``{600,3}``)
219-
batch_data_capture_config (dict): Specifies configuration related to batch transform job
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
219+
batch_data_capture_config (dict, an object of `BatchDataCaptureConfig
220+
<https://sagemaker.readthedocs.io/en/stable/api/utility/inputs.html#sagemaker.inputs.BatchDataCaptureConfig>`_)
221+
Specifies configuration related to batch transform job
222+
for use with Amazon SageMaker Model Monitoring. For more information,
223+
see `Capture data from batch transform job
222224
<https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture-batch.html>`_
223225
in the *Amazon SageMaker developer guide*.
224226
(default: None)

0 commit comments

Comments
 (0)