[
https://issues.apache.org/jira/browse/SPARK-14712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246600#comment-15246600
]
Gayathri Murali commented on SPARK-14712:
-----------------------------------------
_repr_ is defined for LabeledPoint and LinearModel in mllib.regression not with
LogisticRegressionModel. Would you like to add this for LogisticRegressionModel
in both ml and mllib?
> 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]