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

Sean Owen commented on SPARK-15930:
-----------------------------------

What's the use case for this? the FP growth output is logically the set of 
frequent item sets. You already know the size of the training input because you 
trained the model with it.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to