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 (최근 30일)
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

답변 (1개)

aditi bagora
aditi bagora 2023년 9월 25일
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.

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by