List<Vector<Object>> notGuessedSamplesRows = new ArrayList<Vector<Object>>();
int errors = 0;
for (int i = 0; i < parentDataset.size(); ++i)
{
GuessedRealPair guessedRealPair = guessedRealPairs.get(parentDataset.get(i).get(0));
List<Vector<Object>> rows = null;
if (guessedRealPair.isGuessedEqualsReal())
{
rows = guessedSamplesRows;
}
else
{
rows = notGuessedSamplesRows;
errors++;
}
Vector<Object> row = new Vector<Object>();
Row input = parentDataset.get(i);
for (int j = 0; j < metadata.getFirstOutColumnIndex(); ++j)
{
row.add(input.get(j));
}
row.add(outputColumn.getCategoryValueByIndex(guessedRealPair.getGuessed()));
row.add(outputColumn.getCategoryValueByIndex(guessedRealPair.getReal()));
rows.add(row);
}
for (Vector<Object> row : notGuessedSamplesRows)