diff options
author | Andrew Bullen <andrew.bullen@workday.com> | 2014-11-12 22:14:44 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-12 22:15:07 -0800 |
commit | ad872a5ba490b4d3f8970e4876490ddf2b18f891 (patch) | |
tree | fe94e8ef951097732149e64e2a4bb7bbc0219ad4 /python/pyspark/mllib | |
parent | 70efcd88694f20d14085d1ec895a8d38f38784fb (diff) | |
download | spark-ad872a5ba490b4d3f8970e4876490ddf2b18f891.tar.gz spark-ad872a5ba490b4d3f8970e4876490ddf2b18f891.tar.bz2 spark-ad872a5ba490b4d3f8970e4876490ddf2b18f891.zip |
[SPARK-4256] Make Binary Evaluation Metrics functions defined in cases where there ar...
...e 0 positive or 0 negative examples.
Author: Andrew Bullen <andrew.bullen@workday.com>
Closes #3118 from abull/master and squashes the following commits:
c2bf2b1 [Andrew Bullen] [SPARK-4256] Update Code formatting for BinaryClassificationMetricsSpec
36b0533 [Andrew Bullen] [SYMAN-4256] Extract BinaryClassificationMetricsSuite assertions into private method
4d2f79a [Andrew Bullen] [SPARK-4256] Refactor classification metrics tests - extract comparison functions in test
f411e70 [Andrew Bullen] [SPARK-4256] Define precision as 1.0 when there are no positive examples; update code formatting per pull request comments
d9a09ef [Andrew Bullen] Make Binary Evaluation Metrics functions defined in cases where there are 0 positive or 0 negative examples.
(cherry picked from commit 484fecbf1402c25f310be0b0a5ec15c11cbd65c3)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'python/pyspark/mllib')
0 files changed, 0 insertions, 0 deletions