308309310311312313314315316317318
{ int epoch = 1; MLTrain train = new TrainInstar(network,training,0.1,true); do { train.iteration(); System.out .println("Training instar, Epoch #" + epoch + ", Error: " + train.getError() ); epoch++; } while(train.getError()>0.01); }