keras-io
keras-io copied to clipboard
using sliding windows or TimeseriesGenerator from Keras
Hi, Can you please guide me on how I can feed the data to the network using timeseries_dataset_from_array? In fact, I want to use the sliding windows technique and timeseries_dataset_from_array does it. I mean in the code of time-series classification using transformers. Thanks a lot.
Take this as an example.
Hi @mohammad69h94,
please refer this documentation, I have created a small example that would create sliding windows using timeseries_dataset_from_array, please refer this attached gist.
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.