Skip to content

Commit 67bc545

Browse files
committed
bug fix
1 parent cb76cbc commit 67bc545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/amazon/amazon_estimator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def fit(
269269
if wait:
270270
self.latest_training_job.wait(logs=logs)
271271

272-
def record_set(self, train, labels=None, channel="train", encrypt=False, distribution=None):
272+
def record_set(self, train, labels=None, channel="train", encrypt=False, distribution="ShardedByS3Key"):
273273
"""Build a :class:`~RecordSet` from a numpy :class:`~ndarray` matrix and label vector.
274274
275275
For the 2D ``ndarray`` ``train``, each row is converted to a
@@ -295,7 +295,7 @@ def record_set(self, train, labels=None, channel="train", encrypt=False, distrib
295295
encrypt (bool): Specifies whether the objects uploaded to S3 are
296296
encrypted on the server side using AES-256 (default: ``False``).
297297
distribution (str): The SageMaker TrainingJob channel s3 data
298-
distribution type (default: ``False``).
298+
distribution type (default: ``None``).
299299
300300
Returns:
301301
RecordSet: A RecordSet referencing the encoded, uploading training

0 commit comments

Comments
 (0)