You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by is...@apache.org on 2013/11/21 11:34:48 UTC
svn commit: r1544093 -
/mahout/site/mahout_cms/trunk/content/users/clustering/cluster-dumper.mdtext
Author: isabel
Date: Thu Nov 21 10:34:48 2013
New Revision: 1544093
URL: http://svn.apache.org/r1544093
Log:
MAHOUT-1245 - some more formatting changes
Modified:
mahout/site/mahout_cms/trunk/content/users/clustering/cluster-dumper.mdtext
Modified: mahout/site/mahout_cms/trunk/content/users/clustering/cluster-dumper.mdtext
URL: http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/users/clustering/cluster-dumper.mdtext?rev=1544093&r1=1544092&r2=1544093&view=diff
==============================================================================
--- mahout/site/mahout_cms/trunk/content/users/clustering/cluster-dumper.mdtext (original)
+++ mahout/site/mahout_cms/trunk/content/users/clustering/cluster-dumper.mdtext Thu Nov 21 10:34:48 2013
@@ -44,15 +44,15 @@ and will have sub-folders for each clust
Run the clusterdump utility as follows as a standalone Java Program through Eclipse - if you are using eclipse, setup mahout-utils as a project as specified in [Working with Maven in Eclipse](../developers/buildingmahout.html).
To execute ClusterDumper.java,
- * Under mahout-utils, Right-Click on ClusterDumper.java
- * Choose Run-As, Run Configurations
- * On the left menu, click on Java Application
- * On the top-bar click on "New Launch Configuration"
- * A new launch should be automatically created with project as
+* Under mahout-utils, Right-Click on ClusterDumper.java
+* Choose Run-As, Run Configurations
+* On the left menu, click on Java Application
+* On the top-bar click on "New Launch Configuration"
+* A new launch should be automatically created with project as
"mahout-utils" and Main Class as "org.apache.mahout.utils.clustering.ClusterDumper"
- * In the arguments tab, specify the below arguments
+* In the arguments tab, specify the below arguments
--seqFileDir <MAHOUT_HOME>/examples/output/clusters-10
--pointsDir <MAHOUT_HOME>/examples/output/clusteredPoints
@@ -60,12 +60,12 @@ Run the clusterdump utility as follows a
replace <MAHOUT_HOME> with the actual path of your $MAHOUT_HOME
- * Hit run to execute the ClusterDumper using Eclipse. Setting breakpoints etc should just work fine.
+* Hit run to execute the ClusterDumper using Eclipse. Setting breakpoints etc should just work fine.
Reading the output file
- This will output the clusters into a file called clusteranalyze.txt inside $MAHOUT_HOME/examples/output
- Sample data will look like
+This will output the clusters into a file called clusteranalyze.txt inside $MAHOUT_HOME/examples/output
+Sample data will look like
CL-0 { n=116 c=[29.922, 30.407, 30.373, 30.094, 29.886, 29.937, 29.751, 30.054, 30.039, 30.126, 29.764, 29.835, 30.503, 29.876, 29.990, 29.605, 29.379, 30.120, 29.882, 30.161, 29.825, 30.074, 30.001, 30.421, 29.867, 29.736, 29.760, 30.192, 30.134, 30.082, 29.962, 29.512, 29.736, 29.594, 29.493, 29.761, 29.183, 29.517, 29.273, 29.161, 29.215, 29.731, 29.154, 29.113, 29.348, 28.981, 29.543, 29.192, 29.479, 29.406, 29.715, 29.344, 29.628, 29.074, 29.347, 29.812, 29.058, 29.177, 29.063, 29.607](29.922,-30.407,-30.373,-30.094,-29.886,-29.937,-29.751,-30.054,-30.039,-30.126,-29.764,-29.835,-30.503,-29.876,-29.990,-29.605,-29.379,-30.120,-29.882,-30.161,-29.825,-30.074,-30.001,-30.421,-29.867,-29.736,-29.760,-30.192,-30.134,-30.082,-29.962,-29.512,-29.736,-29.594,-29.493,-29.761,-29.183,-29.517,-29.273,-29.161,-29.215,-29.731,-29.154,-29.113,-29.348,-28.981,-29.543,-29.192,-29.479,-29.406,-29.715,-29.344,-29.628,-29.074,-29.347,-29.812,-29.058,-29.177,-29.063,-29.607.html)
r=[3.463, 3.351, 3.452, 3.438, 3.371, 3.569, 3.253, 3.531, 3.439, 3.472,
@@ -75,8 +75,8 @@ CL-0 { n=116 c=[29.922, 30.407, 30.373,
4.539, 4.956, 4.644, 4.382, 4.277, 4.918, 4.784, 4.582, 4.915, 4.607,
4.672, 4.577, 5.035, 5.241, 4.731, 4.688, 4.685, 4.657, 4.912, 4.300] }
- and on...
+and on...
- where CL-0 is the Cluster 0 and n=116 refers to the number of points observed by this cluster and c = \[29.922 ...\]
+where CL-0 is the Cluster 0 and n=116 refers to the number of points observed by this cluster and c = \[29.922 ...\]
refers to the center of Cluster as a vector and r = \[3.463 ..\] refers to
the radius of the cluster as a vector.
\ No newline at end of file