Github user MLnick commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12943#discussion_r62916329
  
    --- Diff: python/pyspark/ml/classification.py ---
    @@ -1117,6 +1137,56 @@ def getBlockSize(self):
             """
             return self.getOrDefault(self.blockSize)
     
    +    @since("2.0.0")
    +    def setStepSize(self, value):
    +        """
    +        Sets the value of :py:attr:`stepSize`.
    +        """
    +        return self._set(stepSize=value)
    +
    +    @since("2.0.0")
    +    def getStepSize(self):
    +        """
    +        Gets the value of stepSize or its default value.
    +        """
    +        return self.getOrDefault(self.stepSize)
    +
    +    @since("2.0.0")
    +    def setSolver(self, value):
    +        """
    +        Sets the value of :py:attr:`solver`.
    +        """
    +        return self._set(solver=value)
    +
    +    @since("2.0.0")
    +    def getSolver(self):
    +        """
    +        Gets the value of solver or its default value.
    +        """
    +        return self.getOrDefault(self.solver)
    +
    +    @property
    +    @since("2.0.0")
    +    def getOptimizer(self):
    --- End diff --
    
    Just wondering, why is `getOptimizer` even there? It seems redundant to me.


---
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

Reply via email to