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.