GitHub user zhengruifeng opened a pull request:
https://github.com/apache/spark/pull/13511
[SPARK-14900][ML][PySpark] Add accuracy and deprecate precison,recall,f1
## What changes were proposed in this pull request?
1, add accuracy for MulticlassMetrics
2, deprecate overall precision,recall,f1 and recommend accuracy usage
## How was this patch tested?
manual tests in pyspark shell
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhengruifeng/spark deprecate_py_precisonrecall
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13511.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 #13511
commit 72fdfd50cd7103c5d3454e0cd552144345b781d4
Author: Zheng RuiFeng
Date: 2016-06-03T11:55:13Z
create pr
commit 652b9efcac3567012bc502288430114dcbf1c960
Author: Zheng RuiFeng
Date: 2016-06-05T02:13:36Z
deprecate non-by-label calls
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org