You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2020/05/14 15:56:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Sean R. Owen resolved SPARK-31681.
----------------------------------
    Fix Version/s: 3.0.0
         Assignee: Huaxin Gao
       Resolution: Fixed

Resolved by 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
>            Assignee: Huaxin Gao
>            Priority: Minor
>              Labels: release-notes
>             Fix For: 3.0.0
>
>
> {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