mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeast...@apache.org
Subject svn commit: r1003356 - /mahout/trunk/core/src/main/java/org/apache/mahout/clustering/spectral/eigencuts/EigencutsDriver.java
Date Fri, 01 Oct 2010 02:10:06 GMT
Author: jeastman
Date: Fri Oct  1 02:10:06 2010
New Revision: 1003356

URL: http://svn.apache.org/viewvc?rev=1003356&view=rev
Log:
MAHOUT-519: should have been getConf() here

Modified:
    mahout/trunk/core/src/main/java/org/apache/mahout/clustering/spectral/eigencuts/EigencutsDriver.java

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/clustering/spectral/eigencuts/EigencutsDriver.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/spectral/eigencuts/EigencutsDriver.java?rev=1003356&r1=1003355&r2=1003356&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/clustering/spectral/eigencuts/EigencutsDriver.java
(original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/clustering/spectral/eigencuts/EigencutsDriver.java
Fri Oct  1 02:10:06 2010
@@ -57,7 +57,6 @@ public class EigencutsDriver extends Abs
   public int run(String[] arg0) throws Exception {
 
     // set up command line arguments
-    Configuration conf = new Configuration();
     addOption("input", "i", "Path to input affinity matrix data", true);
     addOption("output", "o", "Output of clusterings", true);
     addOption("half-life", "b", "Minimal half-life threshold", true);
@@ -81,7 +80,7 @@ public class EigencutsDriver extends Abs
     double epsilon = Double.parseDouble(parsedArgs.get("--epsilon"));
     double tau = Double.parseDouble(parsedArgs.get("--tau"));
 
-    run(conf, input, output, dimensions, halflife, epsilon, tau);
+    run(getConf(), input, output, dimensions, halflife, epsilon, tau);
 
     return 0;
   }



Mime
View raw message