keyIterator = labeledFeatures.keySet().iterator();
while (keyIterator.hasNext()) {
int next = keyIterator.next();
assert(next < numFeatures);
int loc = fv.location(next);
if (loc < 0) {
continue;
}
ArrayList<Integer> majorityClassList = labeledFeatures.get(next);