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/20 12:12:00 UTC

[jira] [Updated] (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 updated SPARK-28780:
------------------------------
    Docs Text: Spark 2.2 accidentally introduced the method LinearSVCModel.setWeightCol. This method works incorrectly, too. It is removed in 3.0.
       Labels: release-notes  (was: )

> 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
>            Priority: Minor
>              Labels: release-notes
>
> 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