}
public void finishNNSetup() throws Exception {
Config c = new Config();
c.parse(null); // default layer: 2-3-2
c.setConfValue("inputFunction", WeightedSum.class);
c.setConfValue("transferFunction", Tanh.class);
c.setConfValue("neuronType", Neuron.class);
c.setConfValue("networkType", NeuralNetwork.NetworkType.MULTI_LAYER_PERCEPTRON);
c.setConfValue("layerNeuronCounts", this.layerNeuronCounts );
c.parse(null);
this.nn = new MultiLayerPerceptronNetwork();
try {
this.nn.buildFromConf(c);
} catch (Exception e) {