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

Littlestar updated SPARK-6239:
------------------------------
    Description: 
Spark MLlib fpm#FPGrowth minSupport should use long instead

==============
val minCount = math.ceil(minSupport * count).toLong
because:
1. [count]numbers of datasets is not kown before read.
2. [minSupport ]double precision.

from mahout#FPGrowthDriver.java
addOption("minSupport", "s", "(Optional) The minimum number of times a 
co-occurrence must be present."
              + " Default Value: 3", "3");


I just want to set minCount=2 for test.
Thanks.

  was:
Spark MLlib fpm#FPGrowth minSupport should use double instead

==============
val minCount = math.ceil(minSupport * count).toLong
because:
1. [count]numbers of datasets is not kown before read.
2. [minSupport ]double precision.

from mahout#FPGrowthDriver.java
addOption("minSupport", "s", "(Optional) The minimum number of times a 
co-occurrence must be present."
              + " Default Value: 3", "3");


I just want to set minCount=2 for test.
Thanks.

        Summary: Spark MLlib fpm#FPGrowth minSupport should use long instead  
(was: Spark MLlib fpm#FPGrowth minSupport should use double instead)

> Spark MLlib fpm#FPGrowth minSupport should use long instead
> -----------------------------------------------------------
>
>                 Key: SPARK-6239
>                 URL: https://issues.apache.org/jira/browse/SPARK-6239
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 1.3.0
>            Reporter: Littlestar
>            Priority: Minor
>
> Spark MLlib fpm#FPGrowth minSupport should use long instead
> ==============
> val minCount = math.ceil(minSupport * count).toLong
> because:
> 1. [count]numbers of datasets is not kown before read.
> 2. [minSupport ]double precision.
> from mahout#FPGrowthDriver.java
> addOption("minSupport", "s", "(Optional) The minimum number of times a 
> co-occurrence must be present."
>               + " Default Value: 3", "3");
> I just want to set minCount=2 for test.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to