diff options
author | wm624@hotmail.com <wm624@hotmail.com> | 2016-05-13 08:29:37 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-05-13 08:29:37 +0100 |
commit | bdff299f9e51b06b809fe505bda466009e759831 (patch) | |
tree | 9cbc4bede62660c76708474d1e1db1365c36fbac /tools/src | |
parent | e1dc853737fc1739fbb5377ffe31fb2d89935b1f (diff) | |
download | spark-bdff299f9e51b06b809fe505bda466009e759831.tar.gz spark-bdff299f9e51b06b809fe505bda466009e759831.tar.bz2 spark-bdff299f9e51b06b809fe505bda466009e759831.zip |
[SPARK-14900][ML] spark.ml classification metrics should include accuracy
## What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Add accuracy to MulticlassMetrics class and add corresponding code in MulticlassClassificationEvaluator.
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Scala Unit tests in ml.evaluation
Author: wm624@hotmail.com <wm624@hotmail.com>
Closes #12882 from wangmiao1981/accuracy.
Diffstat (limited to 'tools/src')
0 files changed, 0 insertions, 0 deletions