MATLAB Answers

Meaning of Epoch in Neural Network

9 ビュー (過去 30 日間)
Endah Sekar Palupi
Endah Sekar Palupi 2021 年 7 月 28 日
コメント済み: Endah Sekar Palupi 2021 年 7 月 29 日
Hello everyone,
I am a beginner in Matlab. now, I have a project about identifying grain programs with Neural Network Backpropagation. I have a problem, when I run training, I can't see plot of performance and regression. I want to know what epochs and iterations mean in a neural network. What does it mean if the value of epoch and iteration is 0. how to identify the best program by looking at epoch and iteration.
I want to know what's wrong with my program.
I am very thankful and happy if anyone can teach and give suggestion
  1 件のコメント
David Willingham
David Willingham 2021 年 7 月 29 日
Hi Endah,
The Neural Network app is an older app in Matlab that’s used for training shallow neural networks.
If you’d like to see the training progress plots, try the “deepnetworkdesigner” app instead. Here is a short into video to how it works.


回答 (1 件)

KSSV 2021 年 7 月 29 日
An epoch is defined as the number of times an algorithm visits the data set .In other words, epoch is one backward and one forward pass for all the training.
Iteration is defined as the number of times a batch of data has passed through the algorithm.In other words, it is the number of passes, one pass consists of one forward and one backward pass.
For example-
Consider a set of 1000 images having a batch size of 10 and each iteration would process 10 images, it will take100 such iterations to complete 1 epoch.
  1 件のコメント
Endah Sekar Palupi
Endah Sekar Palupi 2021 年 7 月 29 日
oke Sir, I had read the link you gave to me. But, how I can see the plot of epoch and regression in nntool ? Is maybe there something wrong with my source code?


Community Treasure Hunt

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

Start Hunting!

Translated by