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 Owen (Jira)" <ji...@apache.org> on 2019/08/21 14:49:00 UTC

[jira] [Resolved] (SPARK-28780) Delete the incorrect setWeightCol method in LinearSVCModel

     [ https://issues.apache.org/jira/browse/SPARK-28780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-28780.
-------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 25510
[https://github.com/apache/spark/pull/25510]

> Delete the incorrect setWeightCol method in LinearSVCModel
> ----------------------------------------------------------
>
>                 Key: SPARK-28780
>                 URL: https://issues.apache.org/jira/browse/SPARK-28780
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 2.2.0, 2.3.0, 2.4.0, 3.0.0
>            Reporter: zhengruifeng
>            Assignee: zhengruifeng
>            Priority: Minor
>              Labels: release-notes
>             Fix For: 3.0.0
>
>
> 1, the weightCol is only used in training, and should not be set inĀ  LinearSVCModel;
> 2, the method 'def setWeightCol(value: Double): this.type = set(threshold, value)' is wrongly defined, since value should be a string and weightCol instead of threshold should be set.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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