[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to