[ https://issues.apache.org/jira/browse/SPARK-9720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662248#comment-14662248 ]
Bertrand Dechoux commented on SPARK-9720: ----------------------------------------- I might not understand but isn't it already the case for the master branch? https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/util/Identifiable.scala trait Identifiable { override def toString: String = uid } And many Identifiables have a default constructor using Identifiable.randomUID("keyword") for uid. https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/evaluation/BinaryClassificationEvaluator.scala Do you have specific counter examples? > spark.ml Identifiable types should have UID in toString methods > --------------------------------------------------------------- > > Key: SPARK-9720 > URL: https://issues.apache.org/jira/browse/SPARK-9720 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: Joseph K. Bradley > Priority: Minor > Labels: starter > > It would be nice to print the UID (instance name) in toString methods. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org