You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gayathri Murali (JIRA)" <ji...@apache.org> on 2016/04/18 23:37:25 UTC
[jira] [Commented] (SPARK-14712) spark.ml
LogisticRegressionModel.toString should summarize model
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org