if (m_DeleteType != Attribute.STRING) { copyStringValues(inst, false, instance.dataset(), getInputStringIndex(), getOutputFormat(), getOutputStringIndex()); } 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[outputFormatPeek().numAttributes()];    int j = 0;    for (int i = 0; i < getInputFormat().numAttributes(); i++) {      if (getInputFormat().attribute(i).type() != m_DeleteType) {	vals[j++] = instance.value(i);      }    }    if (instance instanceof SparseInstance) {      push(new SparseInstance(instance.weight(), vals));    } else {      push(new Instance(instance.weight(), vals));    }    return true;  }