/** * {@inheritDoc} */ @Override public TemporalDataModelIF<Long, Long> parseTemporalData(final File f) throws IOException { return parseData(f, "\t", true); }
/** * {@inheritDoc} */ @Override public DataModelIF<Long, Long> parseData(final File f) throws IOException { return parseData(f, "\t", false); }
DataModelIF<Long, Long> trainingModel = new SimpleParser().parseData(trainingFile); System.out.println("Parsing finished: training file"); System.out.println("Parsing started: test file"); File testFile = new File(properties.getProperty(TEST_FILE)); DataModelIF<Long, Long> testModel = new SimpleParser().parseData(testFile); System.out.println("Parsing finished: test file");
DataModelIF<Long, Long> trainingModel = new SimpleParser().parseData(trainingFile); System.out.println("Parsing finished: training file"); System.out.println("Parsing started: test file"); File testFile = new File(properties.getProperty(TEST_FILE)); DataModelIF<Long, Long> testModel = new SimpleParser().parseData(testFile); System.out.println("Parsing finished: test file");
new SimpleParser().parseData(new File(inFile), delimiter, isTemporalData));
predictions = new SimpleParser().parseData(recommendationFile); break; case TRECEVAL: System.out.println("Parsing started: test file"); File testFile = new File(properties.getProperty(TEST_FILE)); DataModelIF<Long, Long> testModel = new SimpleParser().parseData(testFile); System.out.println("Parsing finished: test file");
File trainingFile = new File(split + trainingSuffix); System.out.println("Parsing started: training file" + trainingFile); DataModelIF<Long, Long> trainingModel = new SimpleParser().parseData(trainingFile); System.out.println("Parsing finished: training file "); File testFile = new File(split + testSuffix); System.out.println("Parsing started: test file" + testFile); DataModelIF<Long, Long> testModel = new SimpleParser().parseData(testFile); System.out.println("Parsing finished: test file"); Set<String> recommendationFiles = new HashSet<String>();
File testFile = new File(Paths.get(splitPath, "test_" + i + FILE_EXT).toString()); File strategyFile = new File(Paths.get(strategyModelPath, "strategymodel_" + i + FILE_EXT).toString()); DataModelIF<Long, Long> testModel = new SimpleParser().parseData(testFile); DataModelIF<Long, Long> strategyModel = new SimpleParser().parseData(strategyFile);