Github user oefirouz commented on a diff in the pull request:
https://github.com/apache/spark/pull/5885#discussion_r29645163
--- Diff: python/pyspark/ml/param/shared.py ---
@@ -165,6 +165,35 @@ def getPredictionCol(self):
return self.getOrDefault(self.predictionCol)
+class HasRawPredictionCol(Params):
+ """
+ Mixin for param rawPredictionCol: raw prediction column name.
+ """
+
+ # a placeholder to make it appear in the generated doc
+ rawPredictionCol = Param(Params._dummy(), "rawPredictionCol", "raw
prediction column name")
+
+ def __init__(self):
+ super(HasRawPredictionCol, self).__init__()
+ #: param for raw prediction column name
+ self.rawPredictionCol = Param(self, "rawPredictionCol", "raw
prediction column name")
+ if 'rawPrediction' is not None:
--- End diff --
Ah, my mistake!
---
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]