// Configure the neural net for prediction
neuralNet.getInputLayer().addInputSynapse(inputSynapse);
neuralNet.getOutputLayer().addOutputSynapse(outputSynapse);
inputSynapse.setAdvancedColumnSelector("1-" + attributes.length);
Monitor monitor = neuralNet.getMonitor();
monitor.setTrainingPatterns(1);
monitor.setTotCicles(1);
monitor.setLearning(false);
}