- Use KFoldIterator to perform k-fold cross-validation-based resampling:
KFoldIterator kFoldIterator = new KFoldIterator(k, dataSet);
- Construct a simpler neural network architecture.
- Use enough train data to train the neural network.
KFoldIterator kFoldIterator = new KFoldIterator(k, dataSet);