"--tempDir", tmpDir.getAbsolutePath(), "--lambda", String.valueOf(lambda),
"--numFeatures", String.valueOf(numFeatures), "--numIterations", String.valueOf(numIterations),
"--numThreadsPerSolver", String.valueOf(1), "--usesLongIDs", String.valueOf(true) });
OpenIntLongHashMap userIDIndex =
TasteHadoopUtils.readIDIndexMap(outputDir.getAbsolutePath() + "/userIDIndex/part-r-00000", conf);
assertEquals(4, userIDIndex.size());
OpenIntLongHashMap itemIDIndex =
TasteHadoopUtils.readIDIndexMap(outputDir.getAbsolutePath() + "/itemIDIndex/part-r-00000", conf);
assertEquals(4, itemIDIndex.size());
OpenIntObjectHashMap<Vector> u =
MathHelper.readMatrixRows(conf, new Path(outputDir.getAbsolutePath(), "U/part-m-00000"));
OpenIntObjectHashMap<Vector> m =
MathHelper.readMatrixRows(conf, new Path(outputDir.getAbsolutePath(), "M/part-m-00000"));