What is the mini-batch accuracy in CNN training?

22 ビュー (過去 30 日間)
jonghyun kim
jonghyun kim 2017 年 1 月 31 日
編集済み: Pendela Neelesh 2021 年 11 月 26 日
hello~
when i train my CNN, log text appear in my command window.
for example,
my question is, what is the meaning of mini-batch accuracy value for each line?
is it average accuracy for every 50 iteration, or exactly for '50th' iteration?
thank you for reading~

回答 (1 件)

Sally Al Khamees
Sally Al Khamees 2017 年 2 月 3 日
The mini-batch accuracy reported during training corresponds to the accuracy of the particular mini-batch at the given iteration. It is not a running average over iterations. During training by stochastic gradient descent with momentum (SGDM), the algorithm groups the full dataset into disjoint mini-batches.
An iteration corresponds to the calculation of the network’s gradients for each mini-batch.
An epoch corresponds to moving through every available mini-batch.
Hope this helps
  4 件のコメント
shefali saxena
shefali saxena 2019 年 2 月 12 日
Hello Ravish
Do you find any solution??
I am working on 1D(ECG Signal) with CNN model and the overall accuracy of my model is 75%
I have 40 records each record consists of 1x15000 data. My model consists of 15-22 layers.
how can I increase accuracy....
Pendela Neelesh
Pendela Neelesh 2021 年 11 月 26 日
編集済み: Pendela Neelesh 2021 年 11 月 26 日
Train you model different kernel sizes. Validation accuracy can be low due to overfitting, try using dropouts in the model(if not included), add non linearity to the model by relu aactivation.
You can also use agumentation if the training dataset is small. Use feature extraction techniques(such as PCA, ICA etc) before training to decrease the computational complexity.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by