[
https://issues.apache.org/jira/browse/SPARK-14712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247141#comment-15247141
]
hujiayin commented on SPARK-14712:
----------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]