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

Joseph K. Bradley commented on SPARK-8419:
------------------------------------------

Oops, I misread what the count() was being called on.  Thanks!  I'll close this.

> Statistics.colStats could avoid an extra count()
> ------------------------------------------------
>
>                 Key: SPARK-8419
>                 URL: https://issues.apache.org/jira/browse/SPARK-8419
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Joseph K. Bradley
>            Priority: Trivial
>              Labels: starter
>
> Statistics.colStats goes through RowMatrix to compute the stats.  But 
> RowMatrix.computeColumnSummaryStatistics does an extra count() which could be 
> avoided.  Not going through RowMatrix would skip this extra pass over the 
> data.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to