addF.setAttributeIndex(-1);
addF.setAttributeIndex("last");
    makeDataSetProbabilities(Instances format,			     weka.classifiers.Classifier classifier,			     String relationNameModifier)   throws Exception {    int numOrigAtts = format.numAttributes();    Instances newInstances = new Instances(format);    for (int i = 0; i < format.classAttribute().numValues(); i++) {      weka.filters.unsupervised.attribute.Add addF = new	weka.filters.unsupervised.attribute.Add();      addF.setAttributeIndex(-1);      addF.setAttributeName("prob_"+format.classAttribute().value(i));      addF.setInputFormat(newInstances);      newInstances = weka.filters.Filter.useFilter(newInstances, addF);    }    newInstances.setRelationName(format.relationName()+relationNameModifier);    return newInstances;  }