}
outW = new PrintWriter(getWriter());
// print data file
for (int i = 0; i < instances.numInstances(); i++) {
Instance temp = instances.instance(i);
for(int j = 0; j < temp.numAttributes(); j++){
if(j != instances.classIndex()){
if (temp.isMissing(j)) {
outW.write("?,");
} else if (instances.attribute(j).isNominal() ||
instances.attribute(j).isString()) {