}
  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;  }