You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by holdenk <gi...@git.apache.org> on 2018/06/22 16:18:13 UTC

[GitHub] spark pull request #18826: [SPARK-14712][ML] LogisticRegressionModel.toStrin...

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

    https://github.com/apache/spark/pull/18826#discussion_r197496908
  
    --- Diff: python/pyspark/ml/classification.py ---
    @@ -562,6 +564,11 @@ def evaluate(self, dataset):
             java_blr_summary = self._call_java("evaluate", dataset)
             return BinaryLogisticRegressionSummary(java_blr_summary)
     
    +    def __repr__(self):
    --- End diff --
    
    So my question here is why we aren't calling the Java/Scala toString method directly as we do in the mllib one and in many of the other models in `regression.py` for the ml one?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org