You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2020/03/25 06:08:00 UTC
[jira] [Commented] (SPARK-31218) counts in
BinaryClassificationMetrics should be cached
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org