zhengruifeng created SPARK-27925:
------------------------------------
Summary: Better control numBins of curves in
BinaryClassificationMetrics
Key: SPARK-27925
URL: https://issues.apache.org/jira/browse/SPARK-27925
Project: Spark
Issue Type: Improvement
Components: ML
Affects Versions: 3.0.0
Reporter: zhengruifeng
In case of large datasets with tens of thousands of partitions, current curve
down-sampling method tend to generate much more bins than the value set by
#numBins.
Since in current impl, grouping is done within partitions, that is to say, each
partition contains at least one bin.
A more reasonable way is to bring the grouping op forward into the sort op,
then we can directly set the #bins as the #partitions, and regard one partition
as one bin.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]