Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/15149#discussion_r79853709
--- Diff: python/pyspark/ml/param/shared.py ---
@@ -469,10 +469,10 @@ def getStandardization(self):
class HasThresholds(Params):
"""
- Mixin for param thresholds: Thresholds in multi-class classification
to adjust the probability of predicting each class. Array must have length
equal to the number of classes, with values >= 0. The class with largest value
p/t is predicted, where p is the original probability of that class and t is
the class' threshold.
+ Mixin for param thresholds: Thresholds in multi-class classification
to adjust the probability of predicting each class. Array must have length
equal to the number of classes, with values > 0. The class with largest value
p/t is predicted, where p is the original probability of that class and t is
the class's threshold.
"""
- thresholds = Param(Params._dummy(), "thresholds", "Thresholds in
multi-class classification to adjust the probability of predicting each class.
Array must have length equal to the number of classes, with values >= 0. The
class with largest value p/t is predicted, where p is the original probability
of that class and t is the class' threshold.",
typeConverter=TypeConverters.toListFloat)
+ thresholds = Param(Params._dummy(), "thresholds","Thresholds in
multi-class classification to adjust the probability of predicting each class.
Array must have length equal to the number of classes, with values > 0. The
class with largest value p/t is predicted, where p is the original probability
of that class and t is the class's threshold.",
typeConverter=TypeConverters.toListFloat)
--- End diff --
Aha, I've just put 2 + 2 together about what these files named 'code gen'
are about. Let me regen them.
---
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]