// remove instances with missing class
Instances instances = new Instances(data);
instances.deleteWithMissingClass();
m_binaryClassifiers = new DNBBinary[instances.numClasses()];
m_numClasses=instances.numClasses();
m_headerInfo = new Instances(instances, 0);
for (int i = 0; i < instances.numClasses(); i++) {
m_binaryClassifiers[i] = new DNBBinary();
m_binaryClassifiers[i].setTargetClass(i);
m_binaryClassifiers[i].initClassifier(instances);