classifier.setModelContext(INST_HEADERS);
classifier.resetLearningImpl();
}else{
SparseInstance inst = (SparseInstance) obj;
//Emit the entire prediction array and the correct value
collector.emit(new Values(classifier.getVotesForInstance(inst), inst.classValue()));
//Train on instance
classifier.trainOnInstanceImpl(inst);
}
collector.ack(input);