Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/12918#discussion_r62157665
--- Diff: python/pyspark/ml/classification.py ---
@@ -454,7 +454,8 @@ class TreeClassifierParams(object):
impurity = Param(Params._dummy(), "impurity",
"Criterion used for information gain calculation
(case-insensitive). " +
"Supported options: " +
- ", ".join(supportedImpurities),
typeConverter=TypeConverters.toString)
+ ", ".join(supportedImpurities) + ". (Default: gni)",
--- End diff --
It hasn't been on the python side, but the Scaladoc includes mention of the
default values so I've been adding it as I go through them anyways (see
https://github.com/apache/spark/pull/12914 for the shared params case)
---
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]