RecordSet | R Documentation |
RecordSet Class
RecordSet Class
new()
A collection of Amazon :class:~'Record' objects serialized and stored in S3.
RecordSet$new( s3_data, num_records, feature_dim, s3_data_type = "ManifestFile", channel = "train" )
s3_data
(str): The S3 location of the training data
num_records
(int): The number of records in the set.
feature_dim
(int): The dimensionality of "values" arrays in the Record features, and label (if each Record is labeled).
s3_data_type
(str): Valid values: 'S3Prefix', 'ManifestFile'. If 'S3Prefix', “s3_data“ defines a prefix of s3 objects to train on. All objects with s3 keys beginning with “s3_data“ will be used to train. If 'ManifestFile', then “s3_data“ defines a single s3 manifest file, listing each s3 object to train on.
channel
(str): The SageMaker Training Job channel this RecordSet should be bound to
data_channel()
Return a dictionary to represent the training data in a channel for use with “fit()“
RecordSet$data_channel()
records_s3_input()
Return a TrainingInput to represent the training data
RecordSet$records_s3_input()
print()
Return an unambiguous representation of this RecordSet
RecordSet$print()
clone()
The objects of this class are cloneable with this method.
RecordSet$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.