new ReferenceInstances(m_trainInstances, m_negTrainInstances.numInstances());
for (Enumeration e = clone.m_trainInstances.enumerateInstances();
e.hasMoreElements(); ) {
Instance inst = (Instance) e.nextElement();
try { // ignore classValue() exception
if ((int) inst.classValue() == 0)
clone.m_negTrainInstances.addReference(inst); // belongs in negative class
else
clone.m_posTrainInstances.addReference(inst); // belongs in positive class
} catch (Exception ignored) {}
}