newClassIndex = getInputFormat().classIndex();
newAtts = new FastVector();
for (int j = 0; j < getInputFormat().numAttributes(); j++) {
Attribute att = getInputFormat().attribute(j);
if ((j == newClassIndex) || (!att.isNumeric())) {
newAtts.addElement(att.copy());
} else {
attributeName = new StringBuffer(att.name() + "_binarized");
vals = new FastVector(2);
vals.addElement("0"); vals.addElement("1");
newAtts.addElement(new Attribute(attributeName.toString(), vals));