com.amazonaws.services.sagemaker.sparksdk.protobuf
Writes a row to an underlying RecordWriter
Writes a row to an underlying RecordWriter
the Row to be written as Amazon Records.
Writes a row to an underlying RecordWriter
Writes a row to an underlying RecordWriter
the Row to be written as Amazon Records
Writes rows of labeled vectors to Amazon protobuf Records encoded in RecordIO
By default, writes a label column of Doubles named "label" and a features column of Vector[Double]s named "features" to protobuf.
These column names can be reassigned with the option "labelColumnName" and "featuresColumnName".
To write records from a DataFrame in this file format, run
dataframe.save .format("sagemaker") .option("labelColumnName", "myLabelColumn") .option("featuresColumnName", "myFeaturesColumn") .save("my_output_path")
https://mxnet.incubator.apache.org/architecture/note_data_loading.html for more information on recordIO
https://aws.amazon.com/sagemaker/latest/dg/cdf-training.html/ for more information on the Amazon Record data format.