//Emit the entire prediction array and the correct value
collector.emit(new Values(classifier.getVotesForInstance(inst), inst.classValue()));
//Train on instance
classifier.trainOnInstanceImpl(inst);
//Send out our latest classifier
ClassifierInstance latestClassifier = classifier.getLatestClassifier();
if(latestClassifier != null)
collector.emit(new Values(latestClassifier, (Integer)id));
}else if(obj.getClass() == ClassifierInstance.class){
//If it's a classifier try to add it to the ensemble
//Make sure we aren't just adding our own classifier