How to retrain neural network from a script command?

1 view (last 30 days)
Hello, apologies if this question was asked before, but I have yet to find an answer to my question. When I use "nnstart", there is an option to retrain the network after it finishes training. How can I do this from the script command?
Thanks.

Answers (1)

Rishabh Rathore
Rishabh Rathore on 28 Sep 2018
Edited: Rishabh Rathore on 28 Sep 2018
There's no function/command to retrain the network.
"Retrain" option resets the weights and runs the " train " function again. You could do the same to retrain the network. Reset the initial network weights and biases to new values with init and train again (see “ Initializing Weights ” (init)).

Categories

Find more on Image 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!