public class TimeSeriesGenerator extends Object
Constructor and Description |
---|
TimeSeriesGenerator(INDArray data,
INDArray targets,
int length) |
TimeSeriesGenerator(INDArray data,
INDArray targets,
int length,
int samplingRate,
int stride,
Integer startIndex,
Integer endIndex,
boolean shuffle,
boolean reverse,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
static TimeSeriesGenerator |
fromJson(String jsonFileName) |
int |
length() |
Pair<INDArray,INDArray> |
next(int index) |
public TimeSeriesGenerator(INDArray data, INDArray targets, int length, int samplingRate, int stride, Integer startIndex, Integer endIndex, boolean shuffle, boolean reverse, int batchSize) throws InvalidKerasConfigurationException
public TimeSeriesGenerator(INDArray data, INDArray targets, int length) throws InvalidKerasConfigurationException
public static TimeSeriesGenerator fromJson(String jsonFileName) throws IOException, InvalidKerasConfigurationException
public int length()
Copyright © 2020. All rights reserved.