Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Deciding number of epochs for pattern recognition

Asked by Soumyadip

Soumyadip (view profile)

on 20 Jun 2013

How to predict the number of epochs a neural network needs for pattern recognition ? Also, how do I decide about the other parameters such as learning rate, momentum constant, etc? Is it by trial and error?

I am working on an OCR project and the images for my training are like the ones shown in the question below :-



Soumyadip (view profile)

1 Answer

Answer by Greg Heath

Greg Heath (view profile)

on 1 Jul 2013
Accepted answer

1. Use as many default values as possible. 2. To minimize the number of hidden nodes, H, outer loop over H = 0:dH:Hmax and inner loop over ntrial = 1:Ntrials the number of weight initialization trials for each value of H.

Hope this helps

Thank you for formally accepting my answer



Greg Heath

Greg Heath (view profile)

Contact us