copyStringValues(inst, false, instance.dataset(), getOutputFormat()); inst.setDataset(getOutputFormat()); push(inst);
  public boolean input(Instance instance) throws Exception {    if (getInputFormat() == null) {      throw new Exception("No input instance format defined");    }    if (m_NewBatch) {      resetQueue();      m_NewBatch = false;    }    double[] vals = new double[instance.numAttributes()+1];    for(int i = 0; i < instance.numAttributes(); i++) {      if (instance.isMissing(i)) {	vals[i] = Instance.missingValue();      } else {	vals[i] = instance.value(i);      }    }    evaluateExpression(vals);    if (instance instanceof SparseInstance) {      push(new SparseInstance(instance.weight(), vals));    } else {      push(new Instance(instance.weight(), vals));    }    return true;  }