Batch learning for deep learning lstm time series

3 views (last 30 days)
Is it possible to train a LSTM network by retrain/update the LSTM network by offering different data sets in different batches?
To come one trained LSTM network, trained by using different data sets.
Many thanks for your support

Accepted Answer

Priyank Sharma
Priyank Sharma on 15 May 2019
We train the network using mini-batches of data (if you want to change the size of the mini-batches they can do that in trainingOptions).
If this is what you are following and what you are asking is if you can retrain on multiple datasets, then the answer is yes. You can follow the same workflow for transfer learning that is mentioned in the documentation. Take the trained network, get the layerGraph(net), modify layer graph if needed, and then retrain using trainNetwork and the new dataset.
Please follow the below links for more reference:
Hope this helps!

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!