// this is the first value, it contains the name of the input file
ofile = fs.create(new Path(outputPath, value.toString()).suffix(".out"));
} else {
// The key contains the correct label of the data. The value contains a prediction
ofile.writeChars(value.toString()); // write the prediction
ofile.writeChar('\n');
if (analyzer != null) {
analyzer.addInstance(
dataset.getLabel((int)key.get()),
new ClassifierResult(dataset.getLabel(Integer.parseInt(value.toString())), 1.0));