* @param inpSynapse
* the input synapse holding the training data
*/
protected void trainNetwork(NeuralNet net,
PerformanceTupleInputSynapse inpSynapse) {
TeachingSynapse trainer = new TeachingSynapse();
StreamInputSynapse desiredOutput = inpSynapse.createDesiredOutputSynapse();
desiredOutput.setAdvancedColumnSelector("1");
trainer.setDesired(desiredOutput);
net.getOutputLayer().addOutputSynapse(trainer);
net.setTeacher(trainer);
net.go(true);
// Clean up