public final double classProb(int classIndex,Instance instance) throws Exception {
public final double classProb(int classIndex,Instance instance, int theSubset) throws Exception {
  public final double classProb(int classIndex,Instance instance)       throws Exception {    int theSubset = whichSubset(instance);        if (theSubset <= -1)      return m_distribution.prob(classIndex);    else      if (Utils.gr(m_distribution.perBag(theSubset),0))	return m_distribution.prob(classIndex,theSubset);      else	if (m_distribution.maxClass() == classIndex)	  return 1;	else	  return 0;  }