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:14:44 -0800 |
commit | 484fecbf1402c25f310be0b0a5ec15c11cbd65c3 (patch) | |
tree | c902a79d4cf8efdbcd1058a50196ec80b1e51223 /python/pyspark/mllib/feature.py | |
parent | b9e1c2eb9b6f7fb609718ef20048a8da452d881b (diff) | |
download | spark-484fecbf1402c25f310be0b0a5ec15c11cbd65c3.tar.gz spark-484fecbf1402c25f310be0b0a5ec15c11cbd65c3.tar.bz2 spark-484fecbf1402c25f310be0b0a5ec15c11cbd65c3.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.
Diffstat (limited to 'python/pyspark/mllib/feature.py')
0 files changed, 0 insertions, 0 deletions