Is it possible to divide data from a very long time series into smaller pieces so that an LSTM network can be trained more easily?

4 visualizaciones (últimos 30 días)
Hi all,
I decided to use LSTM neural networks to solve a problem of identification of a nonlinear system.
In particular, the latter is a SISO process and as training data I have available very long time series (more than 400000 samples) both for the input and the output of the process.
I wonder, in this regard, if there is a function in trainingOptions (or any other methodology) that allows you to partition these time series into smaller parts (with fewer samples), in order to facilitate the training process of LSTM.
I thank you in advance for your support.
Marco

Respuestas (1)

aditi bagora
aditi bagora el 25 de Sept. de 2023
You can utilize the 'MiniBatchSize' parameter in the “trainingOptions” function to define the desired size of mini batches. Batching will partition your data into smaller parts and can be used in training your network.
I hope the provided information helps in resolving your query.

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by