GitHub user BenFradet opened a pull request:
https://github.com/apache/spark/pull/10328
[SPARK-12368] [ML] [DOC] Better doc for the binary classification
evaluator' metricName
For the BinaryClassificationEvaluator, the scaladoc doesn't mention that
"areaUnderPR" is supported, only that the default is "areadUnderROC".
Also, in the documentation, it is said that:
"The default metric used to choose the best ParamMap can be overriden by
the setMetric method in each of these evaluators."
However, the method is called setMetricName.
This PR aims to fix both issues.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BenFradet/spark SPARK-12368
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10328.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 #10328
----
commit 74993dca6e4e002e6123029f690d116d6d37939a
Author: BenFradet <[email protected]>
Date: 2015-12-16T15:41:47Z
updated method name for changing metric on an evaluator
commit a6691d42def58edcd1821304c68d2f649a401ff9
Author: BenFradet <[email protected]>
Date: 2015-12-16T15:46:20Z
better scaladoc for the BinaryClassificationEvaluator
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]