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