I am working on a dataset of 30,000 .npy files. Each file contains a matrix of the following form: (75, N), where 75 is the number of columns, which represents the number of features. N: number of rows, the values of these features over time and is different from the file to another.
I tried to use TimeseriesGenerator as mentioned in the keras documentation here:
data_gen = TimeseriesGenerator(data, targets,
length=10, sampling_rate=2,
batch_size=2)
- How to use this method with multiple npy files?
- Should each file must be matched by a class in the target array or each column?