Package org.datavec.api.timeseries.util
Class TimeSeriesWritableUtils
- java.lang.Object
-
- org.datavec.api.timeseries.util.TimeSeriesWritableUtils
-
public class TimeSeriesWritableUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeSeriesWritableUtils.RecordDetailsstatic classTimeSeriesWritableUtils.ZeroLengthSequenceExceptionUnchecked exception, thrown to signify that a zero-length sequence data set was encountered.
-
Constructor Summary
Constructors Constructor Description TimeSeriesWritableUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pair<INDArray,INDArray>convertWritablesSequence(List<List<List<Writable>>> timeSeriesRecord)Convert the writables to a sequence (3d) data set, and also return the mask array (if necessary)static Pair<INDArray,INDArray>convertWritablesSequence(List<List<List<Writable>>> list, TimeSeriesWritableUtils.RecordDetails details)Convert the writables to a sequence (3d) data set, and also return the mask array (if necessary)static TimeSeriesWritableUtils.RecordDetailsgetDetails(List<List<List<Writable>>> record)Get theTimeSeriesWritableUtils.RecordDetailsdetailing the length of the time series
-
-
-
Method Detail
-
getDetails
public static TimeSeriesWritableUtils.RecordDetails getDetails(List<List<List<Writable>>> record)
Get theTimeSeriesWritableUtils.RecordDetailsdetailing the length of the time series- Parameters:
record- the input time series to get the details for- Returns:
- the record details for the record
-
convertWritablesSequence
public static Pair<INDArray,INDArray> convertWritablesSequence(List<List<List<Writable>>> timeSeriesRecord)
Convert the writables to a sequence (3d) data set, and also return the mask array (if necessary)- Parameters:
timeSeriesRecord- the input time series
-
-