final TrainFlatNetworkResilient train = new TrainFlatNetworkResilient(
network, trainingSet);
for (int iteration = 1; iteration <= ITERATIONS; iteration++) {
train.iteration();
System.out.println();
System.out.println("*** Iteration #" + iteration);
System.out.println("Error: " + train.getError());
evaluate(network,trainingSet);