doubles[i] = getProbs(i,instance,1);
if (!useLaplace) { doubles[i] = getProbs(i, instance, 1); } else { doubles[i] = getProbsLaplace(i, instance, 1); }
  public final double [] distributionForInstance(Instance instance)        throws Exception {    double [] doubles =       new double[instance.numClasses()];    for (int i = 0; i < doubles.length; i++) {      doubles[i] = getProbs(i,instance,1);    }    return doubles;  }