[ https://issues.apache.org/jira/browse/SPARK-14712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247141#comment-15247141 ]
hujiayin edited comment on SPARK-14712 at 4/19/16 3:59 AM: ----------------------------------------------------------- Hi Gayathri, I think self has the numFeatures and numClasses defined and I can submit a code for this issue. was (Author: hujiayin): Hi Murali, I think self has the numFeatures and numClasses defined and I can submit a code for this issue. > spark.ml LogisticRegressionModel.toString should summarize model > ---------------------------------------------------------------- > > Key: SPARK-14712 > URL: https://issues.apache.org/jira/browse/SPARK-14712 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: Joseph K. Bradley > Priority: Trivial > Labels: starter > > spark.mllib LogisticRegressionModel overrides toString to print a little > model info. We should do the same in spark.ml. I'd recommend: > * super.toString > * numClasses > * numFeatures > We should also override {{__repr__}} in pyspark to do the same. -- 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