throw new Exception("Cannot output predictions for \""
+ targetName + "\" because that field is not being predicted.");
}
if (eval.getTrainingData() != null &&
eval.getEvaluateOnTrainingData()) {
String predString = eval.printPredictionsForTrainingData("=== Predictions " +
"for training data: " + targetName + " ("
+ step + (step > 1 ? "-steps ahead)" : "-step ahead)") + " ===",
targetName, step, eval.getPrimeWindowSize());
outBuff.append("\n").append(predString);
}