public void buildClassifier(Instances data) throws Exception {
// can classifier handle the data?
getCapabilities().testWithFail(data);
// 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++) {