code: public double evaluate() {
  	if (model.data.tstData.size() <= 0) {
  	    return 0.0;
  	}
  	
  	for (int i = 0; i < humanLabelCounts.length; i++) {
  	    humanLabelCounts[i] = 0;	    
  	    modelLabelCounts[i] = 0;	    
  	    humanModelCounts[i] = 0;	    
  	}
      
  	int matchingCount = 0;
      
  	for (int i = 0; i < model.data.tstData.size(); i++) {
  	    Observation obsr = (Observation)model.data.tstData.get(i);
  	    if (obsr.humanLabel == obsr.modelLabel) {
  		matchingCount++;
  	    }
  	}
      
  	return (double)(matchingCount * 100) / model.data.tstData.size();   
      }
docs: Evaluate.
  
  @return the double