dongjoon-hyun commented on a change in pull request #26439: [SPARK-29801][ML] 
ML models unify toString method
URL: https://github.com/apache/spark/pull/26439#discussion_r344541777
 
 

 ##########
 File path: mllib/src/main/scala/org/apache/spark/ml/feature/VectorSlicer.scala
 ##########
 @@ -159,6 +159,12 @@ final class VectorSlicer @Since("1.5.0") (@Since("1.5.0") 
override val uid: Stri
 
   @Since("1.5.0")
   override def copy(extra: ParamMap): VectorSlicer = defaultCopy(extra)
+
+  @Since("3.0.0")
+  override def toString: String = {
+    s"VectorSlicer: uid=$uid," +
 
 Review comment:
   Please remove the ending `,`. We should not have this in this line.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to