[
https://issues.apache.org/jira/browse/MAHOUT-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197099#comment-13197099
]
Paritosh Ranjan commented on MAHOUT-966:
----------------------------------------
The very first impression that I get is that you have not used -cl option while
clustering. It means the vectors have not been clustered.
--clustering (-cl) If present, run clustering after
the iterations have taken place
https://cwiki.apache.org/MAHOUT/mean-shift-commandline.html
Clustering in Mahout is a two step process, the first one finds the centroids
of the clusters, the second one finds the vectors which were associated with
each centroid.
To trigger the second step ( find vectors for each centroid ), -cl command line
option ( runClustering parameter in Java ) is used.
The ClusterOutputPostProcessor works on clusterd data i.e. it will work on
vectors which were clustered in the second step.
Please try with -cl option while clustering. I think it would solve the
problem. If not, I will investigate more.
> Mismantch in the number of points given by the clusterDumper and
> ClusterOutputPostProcessor
> -------------------------------------------------------------------------------------------
>
> Key: MAHOUT-966
> URL: https://issues.apache.org/jira/browse/MAHOUT-966
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.6
> Environment: hadoop 0.20.2 mahout 0.6
> Reporter: Gaurav Redkar
> Priority: Minor
> Attachments: points100dCCNorm.txt
>
>
> After running the post processor the number of points that each cluster
> contains is not matching the number of points each cluster should contain as
> stated by clusterdumper.
>
> MSV-287{ n=90 c=[0.05195, 0.05675, 0.07151, 0.05713, 0.06946,...}
> MSV-145{ n=90 c=[0.93685, 0.93071, 0.93641, 0.94629, 0.94409,..}
> the n mentioned in clusters-n-final against each cluster is different from
> the number of points actually contained in d directory for each cluster. Any
> idea why is this happening ...?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira