what is EPOCH in neural network

57 ビュー (過去 30 日間)
Charu
Charu 2013 年 2 月 8 日
コメント済み: Greg Heath 2018 年 8 月 12 日
HI what is the definition of EPOCH. is it just an iteration. for each epoch, all the data sets go for training with assumed weights and biases.?? OR, does epoch has a size also, where after that size, the weights adgustments happen and runs again for other size.
Pl clarify me.
Thanks, Charu
  2 件のコメント
Shubhankar  Kapoor
Shubhankar Kapoor 2016 年 3 月 6 日
So if we have more number of epoch the better result it is?
Alex Newman Veloso dos Santos
Alex Newman Veloso dos Santos 2016 年 12 月 28 日
編集済み: Alex Newman Veloso dos Santos 2016 年 12 月 28 日
There is not a straight forward answer to this.
Not necessarily. Clearly, if you have a small number of epochs in your training, it would be poor and you would realize the effects of underfitting. On the other hand, if you train the network too much, it would 'memorize' the desired outputs for the training inputs (supposing a supervised learning).
One could also use an optimization method to estimate weights prior to training and get excellent results with only two epochs.

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

採用された回答

Greg Heath
Greg Heath 2013 年 2 月 9 日
編集済み: Greg Heath 2013 年 2 月 10 日
An epoch is a measure of the number of times all of the training vectors are used once to update the weights.
For batch training all of the training samples pass through the learning algorithm simultaneously in one epoch before weights are updated.
help/doc trainlm
For sequential training all of the weights are updated after each training vector is sequentially passed through the training algorithm.
help/doc adapt
Hope this helps.
Thank you for formally accepting my answer
Greg
P.S. The comp.ai.neural-nets FAQ can very helpfull for understanding NN terminology and techniques.
Greg
  4 件のコメント
Ayomi
Ayomi 2018 年 8 月 12 日
I'm using the NN toolbox functions 'trainedNet = trainNetwork(X,Y,layers,options)' and 'options = trainingOptions(solverName)'. Options allow me to choose maximum number of Epoch and the size of the batch but nor the number of iterations per epoch as presented in https://ww2.mathworks.cn/help/nnet/ref/trainingoptions.html
Greg Heath
Greg Heath 2018 年 8 月 12 日
In general, training is a succession of "try then modify" steps. If unsure, start with defaults.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by