int predCount = 0;
Collections.shuffle(testTuples);
for (int i = 0; i < testTuples.size() - 1; i++) {
for (int j = i + 1; j < testTuples.size(); j++) {
ConfigurationEntry entry1 =
new ConfigurationEntry(testTuples.get(i).getConfiguration());
ConfigurationEntry entry2 =
new ConfigurationEntry(testTuples.get(j).getConfiguration());
predCount++;
errors +=
calculateError(predictor, features, entry1, entry2,
testTuples.get(i), testTuples.get(i + 1));
}