Description Usage Arguments Value
Utility function for generating batches of temporal data.
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
Object containing consecutive data points (timesteps). The data should be 2D, and axis 1 is expected to be the time dimension. |
targets |
Targets corresponding to timesteps in |
length |
Length of the output sequences (in number of timesteps). |
sampling_rate |
Period between successive individual timesteps
within sequences. For rate |
stride |
Period between successive output sequences.
For stride |
start_index, end_index |
Data points earlier than |
shuffle |
Whether to shuffle output samples, or instead draw them in chronological order. |
reverse |
Boolean: if |
batch_size |
Number of timeseries samples in each batch (except maybe the last one). |
An object that can be passed to generator based training
functions (e.g. fit_generator()
).ma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.