title: How to select best neural network repetition number in r
body: <p>I am the using <code>neuralnet</code> package in R to build a neural network. My code looks like this:</p>
  
  <p><code>nn_po5_fold = neuralnet(wheel_spinning ~ L0 + L1 + L2 + L3 + L4 + L5, data = train_fold, hidden = 5, err.fct = "ce", linear.output = FALSE, rep = 3)</code>. </p>
  
  <p>I specified the number of repetitions as 3. My question is after training the neural network, how can I return the best the repetition number? In other words, when using the neural network to compute the test data set output, how can I select the best neural network models?</p>