Batch or online training?

2 views (last 30 days)
Lorena Andrade
Lorena Andrade on 27 May 2019
Edited: Abhipsa on 21 Feb 2025
In the patternnet network, what is the type of training, online or in batch?

Answers (1)

Abhipsa
Abhipsa on 5 Feb 2025
Edited: Abhipsa on 21 Feb 2025
Hello @Lorena Andrade, the training type used in “patternnet” network is “batch. This means that the network weights and biases are updated after processing the entire dataset, as opposed to online training, where updates occur after each individual training example or the given batch size.
As per MATLAB R2021b, “patternnet” uses “batch” processing. You can refer to the link below for a related MATLAB answer:
Moreover, according to the MATLAB documentation for “patternnet, no updates regarding this have been mentioned in the version history up to R2024b.
You can refer to the documentation of “patternnet” below:
Furthermore, you can check the trainable parameters of the network using the command “>>net.trainParam in MATLAB command window, where “net” being the name of your “patternnet” instance.
Hope this helps!

Categories

Find more on Wireless Communications in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!