* @throws Exception if classifier can't be built successfully
*/
public void buildClassifier(Instances instances) throws Exception {
m_ClassAttribute = instances.classAttribute();
if (!m_ClassAttribute.isNominal())
throw new UnsupportedClassTypeException(" Only nominal class, please.");
if(instances.numClasses() != 2)
throw new Exception(" Only 2 classes, please.");
Instances data = new Instances(instances);
if(Utils.eq(data.sumOfWeights(),0))