MATLAB Answers

Batch learning for deep learning lstm time series

16 views (last 30 days)
Leon on 10 May 2019
Commented: Leon on 19 Jul 2019
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


Sign in to comment.

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)