You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "liutengfei (JIRA)" <ji...@apache.org> on 2012/09/29 05:19:07 UTC

[jira] [Closed] (ABDERA-305) Kmeans for synthetic control example--there are 12 cluster during iterations.

     [ https://issues.apache.org/jira/browse/ABDERA-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liutengfei closed ABDERA-305.
-----------------------------

    Resolution: Invalid
    
> Kmeans for synthetic control example--there are 12 cluster during iterations.
> -----------------------------------------------------------------------------
>
>                 Key: ABDERA-305
>                 URL: https://issues.apache.org/jira/browse/ABDERA-305
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: liutengfei
>
> Kmeans for synthetic control example(using default parameter), there are 12 clusters during iterators, but the goal is 6 clusters.
> why 12 not 6?
> before the first iteration, the hdfs dir "output/clusters-0/" will have 8 files: "_policy","part-00000" to "part-00005","part-randomSeed"."part-00000" to "part-00005" are 6 initial-clusters, and "part-randomSeed" is composed by this 6 initial-clusters. So in CIMapper.java's func "setup()" , the "classifier.readFromSeqFiles(conf, new Path(priorClustersPath));" will read 12 clusters not 6 clusters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira