Github user MLnick commented on a diff in the pull request:
https://github.com/apache/spark/pull/12964#discussion_r62730071
--- Diff: python/pyspark/ml/evaluation.py ---
@@ -193,7 +197,11 @@ class RegressionEvaluator(JavaEvaluator, HasLabelCol,
HasPredictionCol):
# when we evaluate a metric that is needed to minimize (e.g.,
`"rmse"`, `"mse"`, `"mae"`),
# we take and output the negative of this metric.
metricName = Param(Params._dummy(), "metricName",
- "metric name in evaluation (mse|rmse|r2|mae)",
+ """metric name in evaluation - one of:
+ rmse - default root mean squared error
--- End diff --
@holdenk sorry I missed this before, but could we do it like `rmse - root
mean squared error (default)` instead?
---
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]