You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ss...@apache.org on 2013/10/08 00:07:03 UTC
svn commit: r1530090 -
/mahout/trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
Author: sslavic
Date: Mon Oct 7 22:07:02 2013
New Revision: 1530090
URL: http://svn.apache.org/r1530090
Log:
Replaced tabs with spaces, for consistency
Modified:
mahout/trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
Modified: mahout/trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
URL: http://svn.apache.org/viewvc/mahout/trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java?rev=1530090&r1=1530089&r2=1530090&view=diff
==============================================================================
--- mahout/trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java (original)
+++ mahout/trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java Mon Oct 7 22:07:02 2013
@@ -193,7 +193,7 @@ public final class TestClusterDumper ext
4, false, 0.0, true);
// now run the KMeans job
Path kmeansOutput = new Path(output, "kmeans");
- KMeansDriver.run(conf, getTestTempDirPath("testdata"), new Path(output,
+ KMeansDriver.run(conf, getTestTempDirPath("testdata"), new Path(output,
"clusters-0-final"), kmeansOutput, measure, 0.001, 10, true, 0.0, false);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(finalClusterPath(conf,
@@ -211,7 +211,7 @@ public final class TestClusterDumper ext
4, false, 0.0, true);
// now run the Fuzzy KMeans job
Path kmeansOutput = new Path(output, "kmeans");
- FuzzyKMeansDriver.run(conf, getTestTempDirPath("testdata"), new Path(
+ FuzzyKMeansDriver.run(conf, getTestTempDirPath("testdata"), new Path(
output, "clusters-0-final"), kmeansOutput, measure, 0.001, 10, 1.1f, true,
true, 0, true);
// run ClusterDumper
@@ -277,11 +277,11 @@ public final class TestClusterDumper ext
CanopyDriver.run(conf, svdData, output, measure, 8, 4, false, 0.0, true);
// now run the KMeans job
Path kmeansOutput = new Path(output, "kmeans");
- KMeansDriver.run(svdData, new Path(output, "clusters-0"), kmeansOutput, measure,
+ KMeansDriver.run(svdData, new Path(output, "clusters-0"), kmeansOutput, measure,
0.001, 10, true, 0.0, true);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(finalClusterPath(conf,
- kmeansOutput, 10), new Path(kmeansOutput, "clusteredPoints"));
+ kmeansOutput, 10), new Path(kmeansOutput, "clusteredPoints"));
clusterDumper.printClusters(termDictionary);
}
@@ -319,11 +319,11 @@ public final class TestClusterDumper ext
0.0, true);
// now run the KMeans job
Path kmeansOutput = new Path(output, "kmeans");
- KMeansDriver.run(sData.getRowPath(), new Path(output, "clusters-0"),
+ KMeansDriver.run(sData.getRowPath(), new Path(output, "clusters-0"),
kmeansOutput, measure, 0.001, 10, true, 0.0, true);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(finalClusterPath(conf,
- kmeansOutput, 10), new Path(kmeansOutput, "clusteredPoints"));
+ kmeansOutput, 10), new Path(kmeansOutput, "clusteredPoints"));
clusterDumper.printClusters(termDictionary);
}
@@ -364,11 +364,11 @@ public final class TestClusterDumper ext
0.0, true);
// now run the KMeans job
Path kmeansOutput = new Path(output, "kmeans");
- KMeansDriver.run(sData.getRowPath(), new Path(output, "clusters-0"),
+ KMeansDriver.run(sData.getRowPath(), new Path(output, "clusters-0"),
kmeansOutput, measure, 0.001, 10, true, 0.0, true);
// run ClusterDumper
ClusterDumper clusterDumper = new ClusterDumper(finalClusterPath(conf,
- kmeansOutput, 10), new Path(kmeansOutput, "clusteredPoints"));
+ kmeansOutput, 10), new Path(kmeansOutput, "clusteredPoints"));
clusterDumper.printClusters(termDictionary);
}
*/