List<DataSetRow> rows = dataSet.getRows();
for (int i = 0; i < dataSetRowCount; i++) { // iterate all rows from data set
DataSetRow row = rows.get(i);
nnet.setInput(row.getInput());  // set current row as network input and
nnet.calculate();               // calculate network
<BUG>Neuron[] neurons = nnet.getLayerAt(attribute[0].getIndex()).getNeurons(); // get neurons at specified layer

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

double out = neurons[j].getOutput();
</BUG>
double colVal = row.getInput()[attribute[1].getIndex() - 1];

List<DataSetRow> rows = dataSet.getRows();
for (int i = 0; i < dataSetRowCount; i++) { // iterate all rows from data set
DataSetRow row = rows.get(i);
nnet.setInput(row.getInput());  // set current row as network input and
nnet.calculate();               // calculate network
List<Neuron> neurons = nnet.getLayerAt(attribute[0].getIndex()).getNeurons(); // get neurons at specified layer
for (int j = 0; j < neurons.size(); j++) {
double out = neurons.get(j).getOutput();
double colVal = row.getInput()[attribute[1].getIndex() - 1];
