필터 지우기
필터 지우기

Size of Mini-Batch in deep learning

조회 수: 10 (최근 30일)
Ibrahim A
Ibrahim A 2020년 7월 3일
답변: bharath pro 2020년 7월 3일
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

채택된 답변

bharath pro
bharath pro 2020년 7월 3일
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개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by