Github user viirya commented on a diff in the pull request:
    --- Diff: python/pyspark/ml/ ---
    @@ -144,7 +158,9 @@ def _transfer_params_from_java(self):
                 if self._java_obj.hasParam(
                     java_param = self._java_obj.getParam(
                     # SPARK-14931: Only check set params back to avoid default 
params mismatch.
    -                if self._java_obj.isSet(java_param):
    +                if self._java_obj.isSet(java_param) or (
    +                        # SPARK-10931: Temporary fix for params that have 
a default in Java
    +                        self._java_obj.hasDefault(java_param) and not 
    --- End diff --
    This change will make a default value for a param in java side as an 
user-provided param value in python side.

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