final BasicNetwork network = new BasicNetwork();
network.addLayer(new BasicLayer(MultiBench.INPUT_COUNT));
network.addLayer(new BasicLayer(MultiBench.HIDDEN_COUNT));
network.addLayer(new BasicLayer(MultiBench.OUTPUT_COUNT));
network.getStructure().finalizeStructure();
network.reset();
final MLDataSet training = RandomTrainingFactory.generate(1000,50000,
INPUT_COUNT, OUTPUT_COUNT, -1, 1);
ResilientPropagation rprop = new ResilientPropagation(network,training);