int[] topology = {2, 3, 1};
Activations[] activations = {Activations.LIN, Activations.TANH, Activations.LIN};
INeuralNetwork network = builder.build(topology, activations);
Printing.printNetworkWeights(network);
TrainingInput in = new TrainingInput();
in.iterationsCount = 3000;
in.learningRate = 0.8;
in.momentum = 0.798;
in.inputs = input;
in.targets = output;