classifier.resetLearningImpl();
}else if(obj.getClass() == SparseInstance.class){
//If it's an instance
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);
//Send out our latest classifier
ClassifierInstance latestClassifier = classifier.getLatestClassifier();
if(latestClassifier != null)