float totalerror = 0;
trainingList.shuffle();
long beginTimeInner = System.currentTimeMillis();
for (int ii = 0; ii < numSamples; ii++) {
Instance inst = trainingList.getInstance(ii);
int maxC = (Integer) inst.getTarget();
// HashSet<Integer> t = new HashSet<Integer>();
// t.add(maxC);
Predict pred = (Predict) msolver.getBest(inst, 1);
//从临时数据中取出正确标签打分信息,并删除
Predict oracle = (Predict) inst.getTempData();
inst.deleteTempData();
int maxE = pred.getLabel(0);
int error;
if (tree == null) {
error = (pred.getLabel(0) == maxC) ? 0 : 1;