Github user BryanCutler commented on a diff in the pull request: https://github.com/apache/spark/pull/14524#discussion_r74159065 --- Diff: python/pyspark/ml/param/shared.py --- @@ -311,7 +311,7 @@ class HasSeed(Params): def __init__(self): super(HasSeed, self).__init__() - self._setDefault(seed=hash(type(self).__name__)) + self._setDefault(seed=None) --- End diff -- I could be wrong, but I think if the `Param` var is a `Long` on the Scala side, Py4j will convert a `None` to 0. Does this sound right @holdenk ?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org