You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/05/11 22:20:00 UTC

[jira] [Commented] (SPARK-31681) Python multiclass logistic regression evaluate should return LogisticRegressionSummary

    [ https://issues.apache.org/jira/browse/SPARK-31681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104935#comment-17104935 ] 

Apache Spark commented on SPARK-31681:
--------------------------------------

User 'huaxingao' has created a pull request for this issue:
https://github.com/apache/spark/pull/28503

> Python multiclass logistic regression evaluate should return LogisticRegressionSummary
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-31681
>                 URL: https://issues.apache.org/jira/browse/SPARK-31681
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>    Affects Versions: 3.1.0
>            Reporter: Huaxin Gao
>            Priority: Minor
>
> {code:java}
>     def evaluate(self, dataset):
>         ......
>         java_blr_summary = self._call_java("evaluate", dataset)
>         return BinaryLogisticRegressionSummary(java_blr_summary)
> {code}
> We should return LogisticRegressionSummary instead of BinaryLogisticRegressionSummary for multiclass LogisticRegression



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org