You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "yuhao yang (JIRA)" <ji...@apache.org> on 2016/06/14 01:28:16 UTC

[jira] [Commented] (SPARK-15930) Add Row count property to FPGrowth model

    [ https://issues.apache.org/jira/browse/SPARK-15930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15328759#comment-15328759 ] 

yuhao yang commented on SPARK-15930:
------------------------------------

||               items|| freq||
|                [27]|5|
|            [27, 18]|2|
|        [27, 18, 12]|2|
|    [27, 18, 12, 17]|4|

Hi [~JohnDA] can you please specify what's the row count you expected with the model above? is it the total number of 5 + 2 + 2 + 4?

> Add Row count property to FPGrowth model
> ----------------------------------------
>
>                 Key: SPARK-15930
>                 URL: https://issues.apache.org/jira/browse/SPARK-15930
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 1.6.1
>            Reporter: John Aherne
>            Priority: Minor
>              Labels: fp-growth, mllib
>
> Add a row count property to MLlib's FPGrowth model. 
> When using the model from FPGrowth, a count of the total number of records is often necessary. 
> It appears that the function already calculates that value when training the model, so it would save time not having to do it again outside the model. 
> Sorry if this is the wrong place for this kind of stuff. I am new to Jira, Spark, and making suggestions.



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

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