Size of Mini-Batch in deep learning
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ibrahim A
am 3 Jul. 2020
Beantwortet: bharath pro
am 3 Jul. 2020
Hi,
I am trying to train some deep learning models and trying to set up good value for the Mini-Batch. As you may know, the value of the Mini-Batch should be between 1 and M where M is the size of the batch.
My question is, once I extracted some training features and prepare the data for training. How can I tell the size of my batch so I can set the Mini-Batch?
Thanks
0 Kommentare
Akzeptierte Antwort
bharath pro
am 3 Jul. 2020
As per the docs, the "mini-batch is a subset of the training set that is used to evaluate the gradient of the loss function and update the weights". So the batch size would be the entire training set.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!