}
return minEntry;
}
public boolean existClassifer(Vector<Partition> pars) {
RecordClassifier rClassifier = (RecordClassifier)this.classifier;
rClassifier.init();
int cnt = 0;
for (Partition p : pars) {
String label = "attr_" + cnt;
cnt++;
for (int i = 0; i < p.orgNodes.size(); i++) {
String data = UtilTools.print(p.orgNodes.get(i));
rClassifier.addTrainingData(data, label);
}
}
rClassifier.learnClassifer();
return rClassifier.selfVerify();
}