GitHub user sandecho opened a pull request:
https://github.com/apache/spark/pull/20709
[SPARK-18844][MLLIB] Adding more binary classification evaluation metrics
## What changes were proposed in this pull request?
The following additional binary classification metrics are added.
False omission rate: `forByThreshold`
False discovery rate: `fdrByThreshold`
Negative predictive value: `npvByThreshold`
False negative rate: `fnrByThreshold`
True negative rate (Specificity): `specificityByThreshold`
False positive rate: `fprByThreshold`
## How was this patch tested?
Unit Testing
[EvaluationMetrics.zip](https://github.com/apache/spark/files/1772914/EvaluationMetrics.zip)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sandecho/spark binary
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20709.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20709
----
commit cb5dce1565edca67a3763b7610137b48545ea998
Author: Sandeep Kumar Choudhary <tssandeepkumarchoudhary@...>
Date: 2018-03-01T16:15:12Z
Adding more binary classification evaluation metrics
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]