MATLAB: Can we execute neural network in loop

Deep Learning ToolboxImage Processing Toolboxneural network

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

Best Answer

Yes.
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