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

Sean Owen updated MAHOUT-378:
-----------------------------

         Assignee: Robin Anil
    Fix Version/s: 0.4
         Priority: Minor  (was: Trivial)

Yes, that seems like an oversight. I will try the condition you suggest. 
Assigning to Robin for thoughts.

> min support parameter ignored in FPGrowth
> -----------------------------------------
>
>                 Key: MAHOUT-378
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-378
>             Project: Mahout
>          Issue Type: Bug
>          Components: Frequent Itemset/Association Rule Mining
>            Reporter: Robert Neumayer
>            Assignee: Robin Anil
>            Priority: Minor
>             Fix For: 0.4
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The  minSupport parameter is never read in
> generateFList(Iterator<Pair<List<A>,Long>> transactions, int minSupport) 
> One solution is to drop the parameter, i.e.: 
> generateFList(Iterator<Pair<List<A>,Long>> transactions)
> I guess this would do the filtering:
>               List<Pair<A, Long>> fList = new ArrayList<Pair<A, Long>>();
>               for (Entry<A, MutableLong> e : attributeSupport.entrySet()) {
>                       if (e.getValue().intValue() >= minSupport) {
>                               fList.add(new Pair<A, Long>(e.getKey(), 
> e.getValue()
>                                               .longValue()));
>                       }
>               }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to