pattern.setInputNeurons(1);
pattern.setOutputNeurons(1);
BasicNetwork network = (BasicNetwork)pattern.generate();
SmartLearningRate strategy1 = new SmartLearningRate();
SmartMomentum strategy2 = new SmartMomentum();
MockTrain mock = new MockTrain();
mock.setNetwork(network);
mock.setTraining(XOR.createXORDataSet());
mock.addStrategy(strategy1);
mock.addStrategy(strategy2);