Batch learning for deep learning lstm time series

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

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 Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 10 May 2019

Commented:

on 19 Jul 2019

Community Treasure Hunt

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

Start Hunting!