[
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: [email protected]
For additional commands, e-mail: [email protected]