@Override public void generatePartition(Instances data) throws Exception {
  if (m_Classifier instanceof PartitionGenerator)   buildClassifier(data);
 else   throw new Exception("Classifier: " + getClassifierSpec() + " cannot generate a partition");
}

@ Override public void generatePartition ( Instances data ) throws Exception { if ( m_Classifier instanceof PartitionGenerator ) buildClassifier ( data ) ; else throw new Exception ( "Classifier: " + getClassifierSpec ( ) + " cannot generate a partition" ) ; }
builds the classifier to generate a partition .
