public class CSVRecordToDataSet extends java.lang.Object implements RecordToDataSet
| Constructor and Description |
|---|
CSVRecordToDataSet() |
| Modifier and Type | Method and Description |
|---|---|
org.nd4j.linalg.dataset.DataSet |
convert(java.util.Collection<java.util.Collection<org.datavec.api.writable.Writable>> records,
int numLabels)
Converts records in to a dataset
|
public org.nd4j.linalg.dataset.DataSet convert(java.util.Collection<java.util.Collection<org.datavec.api.writable.Writable>> records,
int numLabels)
RecordToDataSetconvert in interface RecordToDataSetrecords - the records to convertnumLabels - the number of labels for the dataset