network.addLayer(new BasicLayer(null,false,2));
network.addLayer(new BasicLayer(new ActivationSigmoid(),true,3));
network.addLayer(new BasicLayer(new ActivationSigmoid(),true,1));
network.getStructure().finalizeStructure();
network.reset();
new ConsistentRandomizer(-1,1).randomize(network);
// create training data
MLDataSet trainingSet = new BasicMLDataSet(XOR_INPUT, XOR_IDEAL);
final MLTrain train = new ResilientPropagation(network, trainingSet);
//