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

Sean Owen reassigned SPARK-28780:
---------------------------------

    Assignee: zhengruifeng

> 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
>
> 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