return new File(getStagingDir(), fn);
}
private File trainingFile(TTDataSet data) throws IOException {
try {
GenericTTDataSet gds = (GenericTTDataSet) data;
CSVDataSource csv = (CSVDataSource) gds.getTrainingData();
if (",".equals(csv.getDelimiter())) {
File file = csv.getFile();
logger.debug("using training file {}", file);
return file;
}