You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by je...@apache.org on 2010/10/11 16:31:07 UTC
svn commit: r1021354 -
/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
Author: jeastman
Date: Mon Oct 11 14:31:07 2010
New Revision: 1021354
URL: http://svn.apache.org/viewvc?rev=1021354&view=rev
Log:
Forgot to commit cluster dumper test. All tests run
Modified:
mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
Modified: mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
URL: http://svn.apache.org/viewvc/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java?rev=1021354&r1=1021353&r2=1021354&view=diff
==============================================================================
--- mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java (original)
+++ mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java Mon Oct 11 14:31:07 2010
@@ -373,12 +373,12 @@ public final class TestClusterDumper ext
// call EigenVerificationJob separately
solver.run(testData, output, tmp, sampleData.size(), sampleDimension, false, desiredRank);
Path rawEigenvectors = new Path(output, DistributedLanczosSolver.RAW_EIGENVECTORS);
- new EigenVerificationJob().run(testData, rawEigenvectors, output, tmp, 0.5, 0.0, true, null);
+ JobConf conf = new JobConf(config);
+ new EigenVerificationJob().run(testData, rawEigenvectors, output, tmp, 0.5, 0.0, true, conf);
Path cleanEigenvectors = new Path(output, EigenVerificationJob.CLEAN_EIGENVECTORS);
// now multiply the testdata matrix and the eigenvector matrix
DistributedRowMatrix svdT = new DistributedRowMatrix(cleanEigenvectors, tmp, desiredRank - 1, sampleDimension);
- JobConf conf = new JobConf(config);
svdT.configure(conf);
DistributedRowMatrix a = new DistributedRowMatrix(testData, tmp, sampleData.size(), sampleDimension);
a.configure(conf);