getCapabilities().testWithFail(data);
  public void buildClassifier(Instances data) throws Exception {    if (m_Classifier == null) {      throw new Exception("No base classifiers have been set!");    }    // can classifier handle the data?    getCapabilities().testWithFail(data);    // remove instances with missing class    data = new Instances(data);    data.deleteWithMissingClass();        /*    String fname = m_Filter.getClass().getName();    fname = fname.substring(fname.lastIndexOf('.') + 1);    util.Timer t = util.Timer.getTimer("FilteredClassifier::" + fname);    t.start();    */    m_Filter.setInputFormat(data);    data = Filter.useFilter(data, m_Filter);    //t.stop();    m_FilteredInstances = data.stringFreeStructure();    m_Classifier.buildClassifier(data);  }