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?

can we execute neural network in loop?

I need to train 25 images using neural network. Is it possible to train in loops?


1 Answer

Answer by Greg Heath

Greg Heath (view profile)

on 19 Jan 2013
Accepted answer


I typically loop over

1. Number of hidden nodes (outer)

2. Number of trials for Random initial weights and random data division (inner loop)

Results are stored in matrices of size [ Ntrials numH ]

Searching with my name and Ntrials should bring up examples.

Hope this helps.

Thank you for formally accepting my answer.



Greg Heath

Greg Heath (view profile)

Contact us