public static final int HIDDEN_COUNT = 20;
public static final int ITERATIONS = 10;
public static long BenchmarkEncog(double[][] input, double[][] output) {
BasicNetwork network = new BasicNetwork();
network.addLayer(new BasicLayer(new ActivationSigmoid(), true,
input[0].length));
network.addLayer(new BasicLayer(new ActivationSigmoid(), true,
HIDDEN_COUNT));
network.addLayer(new BasicLayer(new ActivationSigmoid(), false,
output[0].length));
network.getStructure().finalizeStructure();
network.reset();
MLDataSet trainingSet = new BasicMLDataSet(input, output);