Github user BryanCutler commented on a diff in the pull request:
    --- Diff: python/pyspark/ml/ ---
    @@ -263,7 +284,8 @@ def _fit_java(self, dataset):
         def _fit(self, dataset):
             java_model = self._fit_java(dataset)
    -        return self._create_model(java_model)
    +        model = self._create_model(java_model)
    +        return self._copyValues(model)
    --- End diff --
    Yes, that is the assumption and it's the same on the Scala side too.  The 
estimators and models should both have a shared mixin that defines the common 
params used.  That's how it's done on the Scala side and Python should follow 
(once that's done, the temporary fix from here can be removed).

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to