You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2014/01/09 22:39:51 UTC

[jira] [Resolved] (MAHOUT-1393) Removed duplicated code from getTopTerms and getTopFeatures in AbstractClusterWriter

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

Suneel Marthi resolved MAHOUT-1393.
-----------------------------------

    Resolution: Fixed

> Removed duplicated code from getTopTerms and getTopFeatures in AbstractClusterWriter 
> -------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-1393
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1393
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Clustering
>    Affects Versions: 0.8
>            Reporter: Diego Carrion
>            Assignee: Suneel Marthi
>            Priority: Minor
>             Fix For: 0.9
>
>         Attachments: refactoring.patch
>
>
> The class org.apache.mahout.utils.clusteringAbstractClusterWriterTest has duplicated code in the methods getTopFeatures and getTopTerms. The duplicated code was extracted to a third private method called getTopTermsPairs.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)