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?

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

Answers (1)

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.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 30 Mar 2022

Answered:

on 25 Sep 2023

Community Treasure Hunt

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

Start Hunting!