[
https://issues.apache.org/jira/browse/SPARK-31218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066407#comment-17066407
]
L. C. Hsieh commented on SPARK-31218:
-------------------------------------
Can you tell more about it? The only one place calling rdd.count() in
{{BinaryClassificationMetrics}} is the initialization of {{cumulativeCounts}}
and {{confusions}}. And looks like it is called only once.
> counts in BinaryClassificationMetrics should be cached
> ------------------------------------------------------
>
> Key: SPARK-31218
> URL: https://issues.apache.org/jira/browse/SPARK-31218
> Project: Spark
> Issue Type: Improvement
> Components: ML, MLlib
> Affects Versions: 2.4.4, 2.4.5
> Reporter: CacheCheck
> Priority: Major
>
> In mllib.evaluation.BinaryClassifcationMetrics.recallByThreshold(), rdd
> _counts_ should be cached for the following multiple actions will use it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]