Clear Filters
Clear Filters

Is there any difference between predictAndUpdateState function and transfer learning?

5 views (last 30 days)
I was looking at the functionality of LSTM and found predictAndUpdateState.
As MATLAB describes, it keeps the previously trained network and updates it with new data.
This is the same process that transfer learning learns from new data. Are these two functions the same?
First of all, thank you.

Accepted Answer

Prateek Rai
Prateek Rai on 8 Oct 2021
To my understanding, you want to know the difference between predictAndUpdateState and Transfer Learning. "predictAndUpdateState" is a function that predicts responses using a trained recurrent neural network and updates the network state, whereas, "transfer learning" is a process where you can take a pre-trained network and use it as a starting point to learn a new task.
You can refer to predictAndUpdateState MathWorks documentation page to learn more on predictAndUpdateState. You can also refer transfer learning using alexnet to MathWorks documentation page to learn more on transfer learning.

More Answers (0)


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

Community Treasure Hunt

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

Start Hunting!