int counter = 1;
List<DataSetRow> rows = dataSet.getRows();
for (int i = 0; i < rows.size(); i++) {
nnet.setInput(rows.get(i).getInput());
nnet.calculate();
<BUG>Neuron[] outputNeurons = nnet.getOutputNeurons();

for (int j = 0; j < outputNeurons.length; j++) {

double err = rows.get(i).getDesiredOutput()[j] - outputNeurons[j].getOutput();
</BUG>
double colVal = rows.get(i).getInput()[attr[0].getIndex() - 1];

int counter = 1;
List<DataSetRow> rows = dataSet.getRows();
for (int i = 0; i < rows.size(); i++) {
nnet.setInput(rows.get(i).getInput());
nnet.calculate();
List<Neuron>outputNeurons = nnet.getOutputNeurons();
for (int j = 0; j < outputNeurons.size(); j++) {
double err = rows.get(i).getDesiredOutput()[j] - outputNeurons.get(j).getOutput();
double colVal = rows.get(i).getInput()[attr[0].getIndex() - 1];
