-
- Downloads
[SPARK-21806][MLLIB] BinaryClassificationMetrics pr(): first point (0.0, 1.0) is misleading
## What changes were proposed in this pull request? Prepend (0,p) to precision-recall curve not (0,1) where p matches lowest recall point ## How was this patch tested? Updated tests. Author: Sean Owen <sowen@cloudera.com> Closes #19038 from srowen/SPARK-21806.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/evaluation/BinaryClassificationMetrics.scala 4 additions, 4 deletions.../spark/mllib/evaluation/BinaryClassificationMetrics.scala
- mllib/src/test/scala/org/apache/spark/mllib/evaluation/BinaryClassificationMetricsSuite.scala 10 additions, 12 deletions...k/mllib/evaluation/BinaryClassificationMetricsSuite.scala
Please register or sign in to comment