MATLAB Answers

Meaning of Epoch in Neural Network

9 views (last 30 days)
Endah Sekar Palupi
Endah Sekar Palupi on 28 Jul 2021
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
Regards
  1 Comment
David Willingham
David Willingham on 29 Jul 2021
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.

Sign in to comment.

Answers (1)

KSSV
KSSV on 29 Jul 2021
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 Comment
Endah Sekar Palupi
Endah Sekar Palupi on 29 Jul 2021
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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!