if (data.checkForStringAttributes()) { throw  new UnsupportedAttributeTypeException("Can't handle string attributes!"); }
getCapabilities().testWithFail(data);
  public void buildEvaluator (Instances data) throws Exception {    if (data.checkForStringAttributes()) {      throw  new UnsupportedAttributeTypeException("Can't handle string attributes!");    }    m_trainInstances = data;    m_trainInstances.deleteWithMissingClass();    m_classIndex = m_trainInstances.classIndex();    if (m_classIndex < 0) {      throw new Exception("Consistency subset evaluator requires a class "			  + "attribute!");    }    if (m_trainInstances.classAttribute().isNumeric()) {      throw new Exception("Consistency subset evaluator can't handle a "			  +"numeric class attribute!");    }    m_numAttribs = m_trainInstances.numAttributes();    m_numInstances = m_trainInstances.numInstances();    m_disTransform = new Discretize();    m_disTransform.setUseBetterEncoding(true);    m_disTransform.setInputFormat(m_trainInstances);    m_trainInstances = Filter.useFilter(m_trainInstances, m_disTransform);  }