You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/02/17 17:05:46 UTC

[GitHub] [spark] zero323 commented on a change in pull request #35554: [SPARK-38239][PYTHON][MLLIB] Fix pyspark.mllib.LogisticRegressionModel.__repr__

zero323 commented on a change in pull request #35554:
URL: https://github.com/apache/spark/pull/35554#discussion_r809276588



##########
File path: python/pyspark/mllib/classification.py
##########
@@ -278,7 +278,10 @@ def load(cls, sc, path):
         return model
 
     def __repr__(self):

Review comment:
       Strictly speaking, this should be `__str__` not `__repr__`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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