public interface RecordToDataSet
extends java.io.Serializable
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
|
org.nd4j.linalg.dataset.DataSet convert(java.util.Collection<java.util.Collection<org.datavec.api.writable.Writable>> records, int numLabels)
records
- the records to convertnumLabels
- the number of labels for the dataset