Instance newInst=transform(test).firstInstance();
test = transform(test); test.deleteAttributeAt(0); Instance newInst=test.firstInstance();
  public double[] distributionForInstance(Instance newBag)    throws Exception {    double [] distribution = new double[2];    Instances test = new Instances (newBag.dataset(), 0);	    test.add(newBag);	    Instance newInst=transform(test).firstInstance();    distribution = m_Classifier.distributionForInstance(newInst);    return distribution;	     }